in reply to Removing Carriage returns from text files

Could you just forget about them until upload time and then ftp the text file in ASCII mode?

(Trying a lateral approach here! My colleagues (PC) and I (Mac) communicate text files by ftp'ing them via our Linux server!)

  • Comment on Re: Removing Carriage returns from text files

Replies are listed 'Best First'.
Re: Re: Removing Carriage returns from text files
by Kalimeister (Acolyte) on Oct 17, 2001 at 23:55 UTC
    Unfortunately I can't do it that way as my text files are only one of many different kinds of files that are in a given directory and the whole transfer is done at once in bin mode. I have written a tool in VB that removes the carriage returns and replaces them with linefeeds but it would be a lot easier if we could do this as part of our perl script which is doing some other massaging of the files. Thanks again for you help and the speedy replies! Kalimeister