Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 May 2005 14:20:19 -0500
From:      "Fafa Hafiz Krantz" <fteg@london.com>
To:        questions@freebsd.org
Subject:   On removing ^M
Message-ID:  <20050508192019.127ED1CE303@ws1-6.us4.outblaze.com>

next in thread | raw e-mail | index | archive | help

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!

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf


--=20
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm



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