someone have written this file in windows (this is the difference between \n and \n\r)

best way: use the tr -d "\r" < Windows > Linux
Possible way: use %s///g of vi.

--
Orr Dunkelman,
[EMAIL PROTECTED]

"If it wasn't for C, we'd be writing programs in BASI, PASAL, and OBOL", anon

Spammers: http://vipe.technion.ac.il/~orrd/spam.html
GPG fingerprint: C2D5 C6D6 9A24 9A95 C5B3  2023 6CAB 4A7C B73F D0AA
(This key will never sign Emails, only other PGP keys.)

On Thu, 1 Dec 2005, yakoub abaya wrote:

sometimes i open text files in vi that
was not written originally in vi and
i see  ^M on every end of line .
how do i remove them and what are they ?


--------------------------------------------------------------------------
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]



--------------------------------------------------------------------------
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]


Reply via email to