[lug] Stripping whitespace in a shell script

Scott A. Herod herod at interact-tv.com
Wed Feb 20 10:01:49 MST 2002


Now how about converting "yow.lines" so that individual lines
are terminated with a return rather than a null character so that
I can stick the file into bugzilla's quips.

Chip Atkinson wrote:
> 
> You could use sed.  For example,
> sed -e "s/  *$//"
> This works in the test that I just ran.
> 
> Chip



More information about the LUG mailing list