Date: Tue, 24 Sep 1996 10:29:59 -0400 (EDT) From: Jeremy Sigmon <jsigmon@www.hsc.wvu.edu> To: "Randall D. DuCharme" <randyd@nconnect.net> Cc: questions@FreeBSD.org Subject: Re: MS-DOS text files in UNIX Message-ID: <Pine.BSF.3.91.960924102856.15006D-100000@www.hsc.wvu.edu> In-Reply-To: <324754C2.41C67EA6@nconnect.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> Greetings,
> I've read numerous things about adding the CR-LF back into text files
> for use with DOS, but what about the other way?? Is there a way to
> remove
> that annoying ^M from a DOS text file under FBSD? I've tried many
> things
> but nothing short of removing them one-by-one seems to work.
>
tr -d "\r" < old_file > new_file
use it all the time....damn dos users.... :-)
======================================================================
Jeremy Sigmon B.S. ChE |
Web Developer of the Robert C. Byrd Health | Use
Sciences Center of West Virginia University | FreeBSD
WWW.HSC.WVU.EDU | Now
Graduate Student in Computer Science |
Office : 293-1060 |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960924102856.15006D-100000>
