Edit file on Windows, shows ^M on each line on Linux
bddorner at yahoo.com
Fri Apr 13 09:41:12 MDT 2007
try using the DOS2UNIX utility. the ^M has to do with the end of line differences between windows and unix, specifically in text files.
----- Original Message ----
From: Chris Carey <chris.carey at gmail.com>
To: Provo Linux Users Group Mailing List <plug at plug.org>
Sent: Friday, April 13, 2007 9:33:48 AM
Subject: Edit file on Windows, shows ^M on each line on Linux
After creating a file on Windows, when I open that file on Linux, I
see ^M at the end of each line in vi.
I want to understand exactly what this is, how it differentiates from
the Linux way of doing things, and how to "convert it" or "fix it" on
the command line or in some other bulk fashion.
PLUG: http://plug.org, #utah on irc.freenode.net
Don't fear the penguin.
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the PLUG