[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LF to CR Conversion
- Subject: Re: LF to CR Conversion
- From: twdorr01@vulcan.spd.louisville.edu (Thomas Dorris)
- Date: 19 Sep 1994 12:55:54 GMT
- Newsgroups: comp.sys.apple2
- Organization: University of Louisville, Louisville KY USA
- References: <35h9pe$jc8@panix2.panix.com> <35hdq1$hp7@newsserv.cs.sunysb.edu>
In <35hdq1$hp7@newsserv.cs.sunysb.edu> jsimmons@cs.sunysb.edu (Jason Simmons) writes:
>tr can do this. Pipe your file through "tr '\015' '\012'".
Actually, to replace linefeeds with carriage returns, do
cat <filename> | tr '\012' '\015' > <newfilename>
Works much better ;)
ThomasD