Daniel Toffetti declaimed: > Hi ! > > How can I use rpl (or any other suitable command) to transform the "\n" > character between Unix and Msdos formats ?? rpl seems to be the right > tool, but I can't figure out how to specify that strings. > > Thanks !! > > -- > Daniel Toffetti --- 'There is no spoon...' - The Matrix > > Running the bleeding edge Debian Sid version 3.0 > Linux luni 2.4.13 #1 SMP Sun Oct 28 18:30:53 ART 2001 i686 unknown > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > Lots of good answers, let's not forget trusty old tr, it's feeling neglected. The key thing you need to know is the standard cr/lf sequence for text files:
Mac ^M 013 0x0D \r Win ^M^J 013 010 0x0D 0x0A \r \n 'nix ^J 010 0x0A \n PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]