Re: Was: Unix(LF) files to MSDOS(CRLF) and vice versa

2002-04-20 Thread will trillich
On Tue, Apr 09, 2002 at 04:14:25AM -0500, Elizabeth Barham wrote: > Kerstin Hoef-Emden <[EMAIL PROTECTED]> writes: > > Are similar tools to flip and dos2unix available for converting > > Mac-ASCII texts? > > perl works well. > > perl -i -pe 's/\r/\n/g' [filename...] > > the -i means to edit the

Re: Was: Unix(LF) files to MSDOS(CRLF) and vice versa

2002-04-09 Thread Pietro Cagnoni
Kerstin Hoef-Emden wrote: Hi, On 9 Apr 2002, Alex Malinovich wrote: On Mon, 2002-04-08 at 21:42, Daniel Toffetti wrote: 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 figur

Re: Was: Unix(LF) files to MSDOS(CRLF) and vice versa

2002-04-09 Thread Elizabeth Barham
Kerstin Hoef-Emden <[EMAIL PROTECTED]> writes: > Are similar tools to flip and dos2unix available for converting > Mac-ASCII texts? perl works well. perl -i -pe 's/\r/\n/g' [filename...] the -i means to edit the files in place. See perl --help for more information on it. Elizabeth -- To UNSU

Was: Unix(LF) files to MSDOS(CRLF) and vice versa

2002-04-09 Thread Kerstin Hoef-Emden
Hi, On 9 Apr 2002, Alex Malinovich wrote: > On Mon, 2002-04-08 at 21:42, Daniel Toffetti wrote: > > 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