Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!pasteur!ames!lll-lcc!lll-winken!uunet!wucs1!flan From: flan@wucs1.wustl.edu (Ian Flanigan) Newsgroups: comp.sys.apple Subject: Re: Stripper (LF's=>CR's) Message-ID: <838@wucs1.wustl.edu> Date: 3 May 89 23:16:29 GMT References: <113300060@uxa.cso.uiuc.edu> <639@madnix.UUCP> Reply-To: flan@wucs1.UUCP (Ian Flanigan) Distribution: na Organization: Washington University, St. Louis, MO Lines: 24 For those who aren't blessed with such snazzy software as LIST or nifty modem packages that convert LF's to CR's, here is a short script that you can run. It's fairly fast (under a minute for a 1meg file on a VAX, under 20 seconds on a Sun 3/60, and under 7 seconds on a Sun 4) and you can always put it in the background. The script itself was made using _stripexec_ as a model. # # _cr_ by Ian Flanigan # if ($#argv == 0) then echo 'usage: cr filename' exit endif foreach file ($argv) set newfile=$file.str echo $file ':' tr '\012' '\015' < $file > $newfile end I hope this helps.