+++ Fafa Hafiz Krantz [freebsd] [08-05-05 14:20 -0500]: | | Good day all! | | I am aware of the port unix2dos (dos2unix) as a tool to | remove ^Ms from ASCII files. | | But if you execute dos2unix in a directory where some files | contain ^M (CR/LF) and some files don't (CR), then dos2unix | will make a mess of those files who don't. | | I am wondering what is needed (what tool or what code) to | do a mass (recursive) removal of ^Ms? | | Thanks!
- Check out the archive. This question is asked many times before. - Answer: 'col -bx < old.file > > new.file' Regards, Shantanoo _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"