Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Apr 1998 04:00:44 +0300
From:      Ruslan Ermilov <ru@ucb.crimea.ua>
To:        questions@FreeBSD.ORG
Subject:   Re: ^M remove
Message-ID:  <19980414040044.08931@ucb.crimea.ua>
In-Reply-To: <3.0.5.32.19980413073040.00881300@mail.htp.net>; from andyt on Mon, Apr 13, 1998 at 07:30:40AM -0400
References:  <199804122204.RAA03235@mutsgo.dyn.ml.org> <3.0.5.32.19980413073040.00881300@mail.htp.net>

next in thread | previous in thread | raw e-mail | index | archive | help
sed 's/^M//g' will remove all ^Ms.

Type ^M by pressing Ctrl+M prepending it with lnext (usually ^V) character.

On Mon, Apr 13, 1998 at 07:30:40AM -0400, andyt wrote:
> matt script archive has a little script that works great
> http://www.worldwidemart.com/scripts
> 
> At 05:04 PM 4/12/98 -0500, George Vagner wrote:
> >someone posted a way to remove those pesky
> >^M  characters from dos files.
> >
> >can someone tell me how again please?
> >
> >thanks

Regards,
-- 
Ruslan Ermilov          System Administrator
ru@ucb.crimea.ua        United Commercial Bank
+380-652-247647         Simferopol, Crimea
2426679                 ICQ Network, UIN

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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