On removing ^M

Chris Knipe savage at savage.za.org
Sun May 8 12:40:06 PDT 2005


Textpad as a editor on Windows works great....


--
Chris.

I love deadlines. I especially love the whooshing sound they make as they 
fly by..." - Douglas Adams, 'Hitchhiker's Guide to the Galaxy'

----- Original Message ----- 
From: "Fafa Hafiz Krantz" <fteg at london.com>
To: <questions at freebsd.org>
Sent: Sunday, May 08, 2005 9:20 PM
Subject: On removing ^M



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


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

_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list