From owner-freebsd-questions Sat Aug 30 14:57:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA04284 for questions-outgoing; Sat, 30 Aug 1997 14:57:56 -0700 (PDT) Received: from ot.stpn.soft.net (freebie.opentech.stpn.soft.net [204.143.126.74]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id OAA04276 for ; Sat, 30 Aug 1997 14:57:50 -0700 (PDT) Received: from andes (andes.opentech.stpn.soft.net [204.143.126.66]) by ot.stpn.soft.net (8.6.12/8.6.12) with ESMTP id DAA00830; Sun, 31 Aug 1997 03:28:30 +0530 Message-ID: <34092A16.C31C0AEC@opentech.stpn.soft.net> Date: Sun, 31 Aug 1997 03:23:50 -0500 From: Prashant Dongre Reply-To: pdongre@opentech.stpn.soft.net X-Mailer: Mozilla 4.01 [en] (WinNT; I) MIME-Version: 1.0 To: robert@chalmers.com.au CC: freebsd-questions Subject: Re: Stripping ^M from llines? X-Priority: 3 (Normal) References: <34076F58.B5DBAC3F@chalmers.com.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Robert Chalmers wrote: > Hi, > Anyone got a handy program for stripping the ^M from text > lines in fbsd? > I currently use tr -d '\015', but this falls over text that > has the : chararacter in it, complaining about it being a > directory? > > cheers, > Bob > > -- > http://www.chalmers.com.au Books-New & Secondhand Support > Whirled Peas. > Agents for CIBTC. Associate of Amazon.com, and Partner Program > with iBS. > Books about China, books from China. Sheng huo jiu shi > dou zheng > Business Links in Dalian, and Beijing. Building the > China Trade I used to take vi's help to do this.... Prashant