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

Re: Mcopy not removing the "^M" character



--- David Jardine <david@jardine.de> wrote:

> On Mon, Nov 08, 2004 at 11:26:55PM +0100, Richard
> Lyons wrote:
 
> > Wouldn't 
> >    $ tr '\r\n' '\n' < dosfile > unixfile
> > 
> > do it?
> 
> For me that doubles each newline, but I can't see
> why.  But
> 
> 	$ tr -d '\r' < dosfile > unixfile
> 
> seems to do it.
> 
> > 
> > -- 
> > richard

Thanks.

The *nix commands that I do not know exist fill many
many man pages...

ejd


		
__________________________________ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 



Reply to: