[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] whitespace
- Subject: [ale] whitespace
- From: psubash at turbolinux.com (Prasanna P Subash)
- Date: Wed, 20 Sep 2000 16:14:48 -0700
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