[ale] whitespace

Prasanna P Subash psubash at turbolinux.com
Wed Sep 20 19:14:48 EDT 2000


try this in vi on the colon prompt

:1,$  s/[ ]*$//g
-- 

Prasanna P Subash
Software Engineer
TurboLinux, Inc

psubash at turbolinux.com

On Wed, Sep 20, 2000 at 09:54:59AM -0400, Ken Nagorski wrote:
> Hi,
> 
> 	Anyone know how  can strip whitespaces off the end of each line of
> a file, be it perl, bash...whatever. There has got to be a way. I just
> can't get it to work?
> 
> Thanks
> Ken
> 
> --
> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.



 PGP signature




More information about the Ale mailing list