Path: utzoo!utgpu!watmath!watdragon!crocus!arwillms From: arwillms@crocus.waterloo.edu (Allan Willms) Newsgroups: comp.sys.ibm.pc Subject: Re: Text file conversion between UNIX and MSDOS Message-ID: <11451@watdragon.waterloo.edu> Date: 11 Feb 89 06:43:32 GMT References: <89Feb9.123853est.2662@godzilla.eecg.toronto.edu> <50186@yale-celray.yale.UUCP> Sender: daemon@watdragon.waterloo.edu Reply-To: arwillms@crocus.waterloo.edu (Allan Willms) Distribution: na Organization: University of Waterloo, Waterloo, Ontario, CANADA Lines: 8 In article <89Feb9.123853est.2662@godzilla.eecg.toronto.edu> noworol@eecg.toronto.edu (Mark Noworolski) writes: >Very frequently when I get stuff off the net I run into the problem of >no carriage returns. It appears that UNIX stores text a little differently >from Messdos. On UNIX use: sed 's/$/^M/' unixfile > dosfile where ^M is CR or Control-M and gotten by ^V^M