Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!rice!uw-beaver!zephyr.ens.tek.com!tektronix!reed!yeung From: yeung@reed.UUCP (Woodrow Yeung) Newsgroups: comp.sys.mac.programmer Subject: Need MPW script to replace LF with CR Message-ID: <15503@reed.UUCP> Date: 22 Sep 90 23:27:28 GMT References: <15501@reed.UUCP> Reply-To: yeung@reed.UUCP (Woodrow Yeung) Distribution: usa Organization: Reed College, Portland OR Lines: 11 Could someone provide me with a shell script that will replace linefeeds with carriage returns in TEXT files? I can't figure out how to generate the escape code for LF and CR in the replace command. Thanks in advance. Woody Yeung yeung@reed Tektronix!reed!yeung