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.
-- 
John Hasler


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

Reply via email to