From owner-freebsd-questions@FreeBSD.ORG Sun May 8 19:40:05 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1EBF16A4E6 for ; Sun, 8 May 2005 19:40:05 +0000 (GMT) Received: from pyro.cenergynetworks.com (pyro.cenergynetworks.com [196.30.191.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF3A943D8C for ; Sun, 8 May 2005 19:40:04 +0000 (GMT) (envelope-from savage@savage.za.org) Received: from [127.0.0.1] (helo=pyro.cenergynetworks.com) by pyro.cenergynetworks.com with smtp (Exim 4.50) id 1DUrdB-0001Sg-rT; Sun, 08 May 2005 21:40:01 +0200 Received: from wblv-146-226-37.telkomadsl.co.za ([165.146.226.37] helo=netphobia) by pyro.cenergynetworks.com with esmtpa (Exim 4.50) id 1DUrdA-0001SK-qs; Sun, 08 May 2005 21:40:00 +0200 Message-ID: <002001c55405$b9111000$0a01a8c0@ops.cenergynetworks.com> From: "Chris Knipe" To: "Fafa Hafiz Krantz" , References: <20050508192019.127ED1CE303@ws1-6.us4.outblaze.com> Date: Sun, 8 May 2005 21:39:59 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-PMX-Version: 4.7.1.128075, Antispam-Engine: 2.0.3.0, Antispam-Data: 2005.3.10.17 Subject: Re: On removing ^M X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Chris Knipe List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 May 2005 19:40:06 -0000 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" To: 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@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"