Re: Getting rid of Control-M in a file?
On Sunday 18 March 2001 03:03, kmself@ix.netcom.com wrote:
> on Sun, Mar 18, 2001 at 12:12:44AM -0800, Lars Jensen
(jensen@scs.unr.edu) wrote:
> > How do I get rid of Control-M at the end of each line in a dos
> > text file imported to Debian?
>
> 1. select ASCII mode for your FTP transfers.
> 2. dos2unix myfile
What package are dos2unix and unix2dos in? I couldn't find them on my
system, so I cooked up a couple of little perl scriptlets to do the
same thing.
--
Bud Rogers <budr@sirinet.net> http://www.sirinet.net/~budr
All things in moderation. And not too much moderation either.
Reply to: