Xref: utzoo comp.unix.xenix:8412 comp.sys.ibm.pc:37641 Path: utzoo!attcan!uunet!husc6!mailrus!iuvax!purdue!tut.cis.ohio-state.edu!ucbvax!mtxinu!unisoft!hoptoad!peora!tarpit!bilver!bill From: bill@bilver.UUCP (Bill Vermillion) Newsgroups: comp.unix.xenix,comp.sys.ibm.pc Subject: Re: converting line-feed to cr/lf in a file Message-ID: <345@bilver.UUCP> Date: 4 Nov 89 21:27:15 GMT References: <636@holston.UUCP-> <11099@dasys1.UUCP> Reply-To: bill@bilver.UUCP (Bill Vermillion) Organization: W. J. Vermillion, Winter Park, FL Lines: 13 ->In article <636@holston.UUCP> barton@holston.UUCP (Barton A. Fisk) writes: ->>For reasons beyond my control (US Govt Computer System) I have ->>to translate all line-feed characters in my SCO Xenix system ->>text file to cr/lf's before sending them to a DOS front end ->>pre-editing site that bombs on lf's only. ->>I've tried using stty, but it seems this only works for ->>character dev's not files. The doscp command automatically adds cr's to the lf when you copy a text file to a dos disk. -- Bill Vermillion - UUCP: {uiucuxc,hoptoad,petsd}!peora!tarpit!bilver!bill : bill@bilver.UUCP