WillS at housing.ufl.edu
Fri Jun 20 12:54:06 PDT 2003
cat filename | tr -d '\r' > output && mv output filename
There is also a method spat out by fortune every once in awhile, using col, but I can't remember it.
> -----Original Message-----
> From: Fabio Miranda Hamburger [mailto:fabmirha at ns.isi.ulatina.ac.cr]
> Sent: Friday, June 20, 2003 3:45 PM
> To: questions at FreeBSD.org
> Subject: tr
> 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?
> Fabio Andres Miranda
> Ingenieria de sistemas informaticos
> Universidad Latina - Costa Rica
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions