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.
-Will > -----Original Message----- > From: Fabio Miranda Hamburger [mailto:[EMAIL PROTECTED] > Sent: Friday, June 20, 2003 3:45 PM > To: [EMAIL PROTECTED] > 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? > > thanks, > > --- > Fabio Andres Miranda > Ingenieria de sistemas informaticos > Universidad Latina - Costa Rica > > > _______________________________________________ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"