Date: Fri, 29 Aug 1997 21:44:53 -0400 (EDT) From: Steve Hovey <shovey@buffnet.net> To: Robert Chalmers <robert@chalmers.com.au> Cc: freebsd-questions <freebsd-questions@FreeBSD.ORG> Subject: Re: Stripping ^M from llines? Message-ID: <Pine.BSI.3.95.970829214428.4955O-100000@buffnet11.buffnet.net> In-Reply-To: <34076F58.B5DBAC3F@chalmers.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
If you ftp it ascii from the dos machine to begin with the ftp strips it I think. On Sat, 30 Aug 1997, 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 > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.95.970829214428.4955O-100000>