Removing junk characters from text files?
Lennart Sorensen
lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Wed Feb 9 17:30:36 UTC 2005
On Wed, Feb 09, 2005 at 12:15:14PM -0500, Kevin Cozens wrote:
> Fixing line endings (ie. removing ^M or changing ^M to ^J) can be done
> using the 'tr' command. It could also be used to remove your other
> unwanted characters if you knew what they were or just gave it a list of
> what you want to remove.
And of course dos2unix is a handy utility too. Not that it does
anything tr doesn't already do. Just less arguments required when
running it.
Lennart Sorensen
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list