From owner-freebsd-questions Tue Sep 24 07:28:18 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA12520 for questions-outgoing; Tue, 24 Sep 1996 07:28:18 -0700 (PDT) Received: from www.hsc.wvu.edu (www.hsc.wvu.edu [157.182.105.122]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id HAA12493 for ; Tue, 24 Sep 1996 07:28:15 -0700 (PDT) Received: (from jsigmon@localhost) by www.hsc.wvu.edu (8.6.12/8.6.12) id KAA15187; Tue, 24 Sep 1996 10:30:00 -0400 Date: Tue, 24 Sep 1996 10:29:59 -0400 (EDT) From: Jeremy Sigmon To: "Randall D. DuCharme" cc: questions@FreeBSD.org Subject: Re: MS-DOS text files in UNIX In-Reply-To: <324754C2.41C67EA6@nconnect.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > 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 |