On Thursday 22 December 2005 13:52, Mikhail Teterin wrote: > > Try col(1) or tr(1) to remove the carriage return and then sed to remove > > the spaces. > > Well, yes, but that's a two-stage process. A shame to go through the whole > file twice just because our tools aren't good enough.
How about this: sed 's/ *[[:cntrl:]]$//' hth... don > > -mi > _______________________________________________ > [email protected] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" -- Don Hinton <don.hinton at vanderbilt.edu> 615.480.5667 ISIS, Vanderbilt University
pgpuOloR8y33y.pgp
Description: PGP signature
