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

Re: Need help with some text files



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.

They should all be available via FTP. Try the pindarus server.
Hope this helps.

|> --
|> Herbert Fung              herbertf@ersys.edmonton.ab.ca 

Stefan Voss
(voss@ira.uka.de)