try using the DOS2UNIX utility. the ^M has to do with the end of line differences between windows and unix, specifically in text files.
Brad ----- Original Message ---- From: Chris Carey <[EMAIL PROTECTED]> To: Provo Linux Users Group Mailing List <[EMAIL PROTECTED]> 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. Thanks /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */
