On Thu, Nov 11, 2004 at 10:07:30AM -0600, John Hasler wrote:
> Richard Lyons wrote:
> > Wouldn't 
> >     $ tr '\r\n' '\n' < dosfile > unixfile
> > do it?
> 
> David Jardine wrote:
> > For me that doubles each newline, but I can't see why.
> 
> 
> >From the tr man page:
> 
>   SET2 is extended to length of SET1 by repeating its last character as
>   necessary.

Ah, yes.  Thanks.  Now let's see what we can use this for...

-- 
David Jardine

"Running Debian GNU/Linux and
loving every minute of it." -Sacher M.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to