Path: utzoo!utgpu!attcan!uunet!littlei!intelisc!rudolph From: rudolph@intelisc.UUCP (David Rudolph) Newsgroups: comp.sys.mac Subject: Re: WANTED: Program to translate Mac generic text to UNIX text Keywords: Program to insert UNIX "new-line" chars at eoln in Mac text file. Message-ID: <327@intelisc.UUCP> Date: 29 Jul 88 17:12:34 GMT References: <4314@saturn.ucsc.edu> <12695@agate.BERKELEY.EDU> Reply-To: rudolph%isc.intel.com (David Rudolph) Organization: Intel Scientific Computer, Beaverton, OR Lines: 31 In article <12695@agate.BERKELEY.EDU> edmoy@violet.berkeley.edu writes: >In article <4314@saturn.ucsc.edu> bushnel@ucscb.UCSC.EDU (Bill Bushnell) writes: >>Help: >> I need a utility (Mac or UNIX, but Mac preferred) that translates a >>generic text file on the Macintosh to a file I can use in UNIX. One nice >>thing about the Mac is that it has a smart auto-wraparound so that I don't >>have to hit "return" at the end of every line; the Mac takes care of that >>automatically, without splitting up words. Unfortunately, while vi has >>auto-wraparound, it doesn't keep the words together. If I try copying a >>text file from the Mac directly to UNIX, each paragraph ends up as one line >>in vi with the wraparound chopping words in half or worse. A friend of >>mine, running Bitcom on his XT-clone is always complaining that he loses >>everything past 80 characters when I mail him messages typed on my Mac. > >There's a program that does exactly this. It's called "Add/Strip", the >latest I've seen is version 2.12. It is available from Compu$erve and >GEnie, or from the author (with source code in Turbo Pascal) for $6 ($5 >if you supply the disk). The address is: > > Jon Wind (A/S 2.12) > 7180 Montrose Road > Woodbury, MN 55125 > >It's a handly program and well worht having. Or for a free solution, first upload to the Unix system, then run the file throught "fmt" before going into vi. This will give you lines with a max of 72 characters. The only problem is that paragraphs must have 2 carriage returns between them or they will be joined. -- David Rudolph CSnet: rudolph%isc.intel.com