Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!ucsd!sdcc6!loral!jlh From: jlh@loral.UUCP (The Mad Merkin Hunter) Newsgroups: comp.sys.ibm.pc Subject: CR? LF? CRLF???? Message-ID: <1770@loral.UUCP> Date: 2 Jun 88 00:34:59 GMT Organization: Under the table Lines: 28 I've downloaded some text files from a UN*X machine via arc and xmodem. I've got a pseudo-sed script for edlin I want to run on them (thanks Clayton, thats a real useful tip you posted a few months back) but it turns out that the lines end in line feed. Edlin rides the porcelan bus unless it sees a CR LF combination. So, is there an easy way in DOS or MKS vi to automatically do this conversion? I see a few solutions, all of which stink up the place. 1) In UN*X run the files through sed before archiving. 2) In UN*X modify the source to my archiver. 3) Write a C program on the pc. (this is my favorite unless it's already been done). 4) Give up on automation and make the changes by hand. This would take hours. 5) Make the changes on UNIX with sed, archive, and download. Thanks Jim "Beware of tall, leggy, beautiful women with spoons in their noses" -- Jim Harkins Loral Instrumentation, San Diego {ucbvax, ittvax!dcdwest, akgua, decvax, ihnp4}!ucsd!sdcc6!loral!jlh