Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 2003 15:57:40 -0400 (EDT)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        fabmirha@ns.isi.ulatina.ac.cr (Fabio Miranda Hamburger)
Cc:        questions@freebsd.org
Subject:   Re: tr
Message-ID:  <200306201957.h5KJveJ3021587@clunix.cl.msu.edu>
In-Reply-To: <Pine.LNX.4.44.0306201342350.30007-100000@ns.isi.ulatina.ac.cr> from "Fabio Miranda Hamburger" at Jun 20, 2003 01:44:37 PM

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> How can I remove annoy "^D" end of line from MS systems?
> I know there is an utility called dos2unix.
> But I think It's possible to do it with freebsd tr.
> How would that be?

    tr -d "\r" < MSinfile > cleanoutfile

////jerry

> 
> thanks,
> 
> ---
> Fabio Andres Miranda
> Ingenieria de sistemas informaticos
> Universidad Latina - Costa Rica



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306201957.h5KJveJ3021587>