From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 03:16:56 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D2C116A4CE for ; Mon, 1 Dec 2003 03:16:56 -0800 (PST) Received: from nibbel.kulnet.kuleuven.ac.be (nibbel.kulnet.kuleuven.ac.be [134.58.240.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CA1A43FDD for ; Mon, 1 Dec 2003 03:16:53 -0800 (PST) (envelope-from tijl@ulyssis.org) Received: from localhost (localhost [127.0.0.1]) by nibbel.kulnet.kuleuven.ac.be (Postfix) with ESMTP id CF5CB4BBFB; Mon, 1 Dec 2003 12:16:51 +0100 (CET) Received: from octavianus.kulnet.kuleuven.ac.be (octavianus.kulnet.kuleuven.ac.be [134.58.240.71]) by nibbel.kulnet.kuleuven.ac.be (Postfix) with ESMTP id 6762E4BBFA; Mon, 1 Dec 2003 12:16:51 +0100 (CET) Received: from localhost (kalimero.kotnet.org [10.4.5.217]) by octavianus.kulnet.kuleuven.ac.be (Postfix) with SMTP id 0870AAEA24; Mon, 1 Dec 2003 12:16:51 +0100 (CET) Date: Mon, 1 Dec 2003 12:16:50 +0100 From: Tijl Coosemans To: Bryan Cassidy Message-Id: <20031201121650.4693112b.tijl@ulyssis.org> In-Reply-To: <20031130213933.72712e71.b_cassidy@bellsouth.net> References: <20031201031602.GA80581@bsdjunky.homeunix.org> <20031130191746.09011caf.end@endif.cjb.net> <20031130212913.1d7c0126.b_cassidy@bellsouth.net> <20031130213933.72712e71.b_cassidy@bellsouth.net> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by KULeuven Antivirus Cluster cc: freebsd-questions@freebsd.org Subject: Re: Remove ^M characters from xhtml file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2003 11:16:56 -0000 On Sun, 30 Nov 2003 21:39:33 -0600, Bryan Cassidy wrote: > Well, I take that back. It worked on 1 file and then ir started > erasing the contents of the file. tr -d \\r < file > tmp && mv tmp file or col -b < file > tmp && mv tmp file