Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Aug 1997 03:23:50 -0500
From:      Prashant Dongre <pdongre@opentech.stpn.soft.net>
To:        robert@chalmers.com.au
Cc:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Stripping ^M from llines?
Message-ID:  <34092A16.C31C0AEC@opentech.stpn.soft.net>
References:  <34076F58.B5DBAC3F@chalmers.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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