On Mon, Jan 13, 2003 at 11:08:38AM +1000, [EMAIL PROTECTED] wrote:
: Is there a way to remove all control characters from a file?
: eg: I have a file that has characters: ^M, ^@, ^L, etc which need to be 
: removed, but the file also contains: � and alike that need to stay.
: How could I accomplish this?

Check tr -d.  You might also want to use -c.

Don't forget that ^J is NL, which you probably want to keep.

-- 
Christopher Vance
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to