Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!ncar!boulder!cires!rob From: rob@cires.colorado.edu (Rob Cuthbertson) Newsgroups: comp.sys.apple Subject: CR/CR-LF Problems. Summary: There is a MUCH easier way! Message-ID: <147@cires.colorado.edu> Date: 17 Feb 89 04:44:09 GMT Reply-To: rob@cires.Colorado.EDU (Rob Cuthbertson) Organization: CIRES, University of Colorado, Boulder Lines: 27 Unix people, stick this in your .cshrc: ---Cut Here--- alias nl2cr "cat \!^ | tr '\012' '\015' > \!^.X ; rm -f \!^ ; mv \!^.X \!^" alias cr2nl "cat \!^ | tr '\015' '\012' > \!^.X ; rm -f \!^ ; mv \!^.X \!^" #Before you download a Unix file to your Apple, type "nl2cr " and after #you upload an Apple file to the Unix system type "cr2nl ". Takes care #of the incompatibilities between the Apple and Unix line delimiters. #-- #Lazlo Nibble (cscbrkac@charon.unm.edu) ---Cut Here--- This was posted to this newsgroup some time ago, and I had waited to re-post it, since I thought surely someone else would have by now. (or even Lazlo might have) But, since it didn't show up on it's own... btw.. I'm sure there is a similarly simple way to do the same thing under VAX/VMS, I just don't know the OS well enough to say what it is. --Rob Cuthbertson +----- -----+ | cires!rob@boulder.colorado.edu <--OR--> ..!{ncar.nbires}!boulder!cires!rob | | "I'm going to let you in on a \/\/\/ little secret, Ray. K-mart sucks." | +----- \/\/ -----+