Date: Mon, 9 May 2005 06:45:01 +0530 From: Shantanoo Mahajan <shantanoo@gmail.com> To: Fafa Hafiz Krantz <fteg@london.com> Cc: questions@freebsd.org Subject: Re: On removing ^M Message-ID: <20050509011501.GA808@dhumketu.homeunix.net> In-Reply-To: <20050508192019.127ED1CE303@ws1-6.us4.outblaze.com> References: <20050508192019.127ED1CE303@ws1-6.us4.outblaze.com>
next in thread | previous in thread | raw e-mail | index | archive | help
+++ 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050509011501.GA808>
