On 09-Apr-2002 Crispin Wellington wrote: > On Tue, 2002-04-09 at 10: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 to specify that strings. >> >> Thanks !! > > I know how to get rid of the msdos crap, but not how to put it back > > cat text.txt | sed -e 's/^M//g' > text2.txt > > But the crux is you get the ^M in the command line by typing ctrl-v and > then pressing return. >
see the message above your. unix2dos and dos2unix are the friend of anyone having to move files back and forth. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]