[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need help with some text files



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