Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uunet!zephyr.ens.tek.com!tektronix!reed!reeder From: reeder@reed.bitnet (Doug Reeder,,,2343817) Newsgroups: comp.sys.apple2 Subject: Re: Stripping LF's from files Message-ID: <15765@reed.UUCP> Date: 9 Dec 90 08:03:00 GMT References: <9011280256.AA27679@apple.com> Sender: news@reed.UUCP Reply-To: reeder@reed.bitnet (Doug Reeder) Organization: Reed College, Portland, OR Lines: 14 Under unix, define the following: alias lf2cr "cat \!^ | tr '\012' '\015' > \!^.X ; rm -f \!^; mv \!^.X \!^" alias cr2lf "cat \!^ | tr '\015' '\012' > \!^.X ; rm -f \!^; mv \!^.X \!^" You can put these lines in your .cshrc file on your unix account, so they'll always be there. Usage: lf2cr unixfile afterwards, unixfile will contain an apple format text file.