home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.apple2
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!sdd.hp.com!zaphod.mps.ohio-state.edu!cs.utexas.edu!swrinde!gatech!paladin.american.edu!howland.reston.ans.net!bogus.sura.net!udel!sbcs.sunysb.edu!jsimmons
- From: jsimmons@cs.sunysb.edu (Jason Simmons)
- Subject: Re: Need help with some text files
- Message-ID: <1993Jan27.024715.6413@sbcs.sunysb.edu>
- Sender: usenet@sbcs.sunysb.edu (Usenet poster)
- Nntp-Posting-Host: sblapis2gw
- Organization: State University of New York, Stony Brook
- References: <q63yXB1w165w@ersys.edmonton.ab.ca> <1k3gulINNiuj@iraul1.ira.uka.de>
- Date: Wed, 27 Jan 1993 02:47:15 GMT
- Lines: 29
-
- In article <1k3gulINNiuj@iraul1.ira.uka.de> voss@i40s16.ira.uka.de (Stefan
- Voss) writes:
- >In article <q63yXB1w165w@ersys.edmonton.ab.ca>, herbertf@ersys.edmonton.ab.ca
- (Herbert Fung) writes:
- >|> Recently a friend (who uses a IBM Compatable) sent me some text files
- >|> zipped. I after I unziped them on my GS I tried reading the files, but
- >|> apparently something didn't come out right. It looks like all the carrage
- >|> returns were turned into an unknown charater which was denoted with an
- >|> inverted "?". What can I do besides manually changing all the inverted
- >|> "?" manually. I really don't want to do this because there are at least 3
- >|> megs of text files. Are there any programs out there that will do this
- >|> for me? Thanks for any replies.
- >|>
- >Probably, MS-DOS uses Newline characters (ASCII code $0A) as line terminators
- >(like UNIX) for text files. The normal line terminator on a GS is Carriage Return
- >(ASCII code $0D) and fortunately you don't have change your files manually.
- >I know 3 programs that do the work.
- >- conv. An EXE file that is supplied with GNO/ME.
- >- lf2cr. Exits in a EXE version and a NDA version.
- >- vi. I think this editor can read both kinds of text files.
- >
-
- I think Soenke Behrens once released an EXE called udl which supported
- conversion of MS-DOS text files, but I don't know where you could find
- a copy. If you are unsuccessful with conv or lf2cr, send me a copy of
- one of the files and I'll try to modify lf2cr to do the job.
-
- Jason Simmons
- jsimmons@sbcs.sunysb.edu
-