Xref: utzoo comp.unix.xenix:8172 comp.sys.ibm.pc:36790 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!rutgers!texbell!vector!holston!barton From: barton@holston.UUCP (Barton A. Fisk) Newsgroups: comp.unix.xenix,comp.sys.ibm.pc Subject: converting line-feed to cr/lf in a file Message-ID: <636@holston.UUCP> Date: 23 Oct 89 21:11:38 GMT Organization: Barton A. Fisk & Co. Lines: 20 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. I'm probably missing something really simple here, it's been a long day. Would someone point me to the right utility, I'm not a C programmer or I'm sure a simple C program would do it. Any help appreciated. -- Barton A. Fisk | UUCP: {attctc,texbell,vector}!warble!holston!barton PO Box 1781 | (PSEUDO) DOMAIN: barton@holston.UUCP Lake Charles, La. 70602 | ---------------------------------------- 318-439-5984 | "Let him who is without sin cast the first stone"-JC