RE: SIMPLE SCRIPT TO REMOVE ALL SPACE FROM THE ENDS OF LINES

2001-12-05 Thread Bob Showalter
> -Original Message- > From: Booher Timothy B 1stLt AFRL/MNAC > [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 05, 2001 9:27 AM > To: [EMAIL PROTECTED] > Subject: SIMPLE SCRIPT TO REMOVE ALL SPACE FROM THE ENDS OF LINES > > > > I am looking for

SIMPLE SCRIPT TO REMOVE ALL SPACE FROM THE ENDS OF LINES

2001-12-05 Thread Booher Timothy B 1stLt AFRL/MNAC
I am looking for a simple way to go through my text file and remove all spaces from the ends of lines. I have a feeling that this is real easy, but don't know what function is best: does chomp do this? Is there a feature in emacs that does this better? Thanks for any information . . . Tim, bran