in reply to Re: How to remove "^M" in the files ?
in thread How to remove "^M" in the files ?

No cookie for you. "\n" is the Unix line ending, which Linux-based systems just happen to follow. Also, the '^M' tends to be the common way of showing "\r" in most Unix applications, not just vi.

----
: () { :|:& };:

Note: All code is untested, unless otherwise stated

Replies are listed 'Best First'.
Re: Re: Re: How to remove "^M" in the files ?
by BUU (Prior) on Feb 12, 2004 at 03:42 UTC
    It *is* the linux line ending though. It's *also* the unix one, but that doesn't mean it's not the linux one. And yes, not just vi, laziness, etc.