[olug] How to remove ^M's from files?

Dave Hull dphull at insipid.com
Thu Dec 11 16:45:40 UTC 2003


On Thu, 11 Dec 2003, Adam Lassek wrote:

> The ^M's are put there when you save a text file in Windows; Windows
> uses an extra character to signify a newline.

If you transfer your text files from a Windows machine to a *nix box, be sure 
to specify ASCII as the transfer type, that usually removes these during the 
transfer.

-- 
Dave Hull
http://insipid.com

We can embody the truth, but we cannot know it.
		-- Yates



More information about the OLUG mailing list