[Haifux] text editors

2005-12-01 Thread yakoub abaya
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

Re: [Haifux] text editors

2005-12-01 Thread Orr Dunkelman
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: