From owner-freebsd-questions@FreeBSD.ORG Tue Dec 2 23:40:38 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 DD7C416A4E0 for ; Tue, 2 Dec 2003 23:40:38 -0800 (PST) Received: from mta9.adelphia.net (mta9.adelphia.net [68.168.78.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 923D443FE1 for ; Tue, 2 Dec 2003 23:40:37 -0800 (PST) (envelope-from parv_fm@mailsent.net) Received: from moo.holy.cow ([69.160.64.204]) by mta9.adelphia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20031203074041.CGUC1561.mta9.adelphia.net@moo.holy.cow>; Wed, 3 Dec 2003 02:40:41 -0500 Received: by moo.holy.cow (Postfix, from userid 1001) id 8B285A832; Wed, 3 Dec 2003 02:44:47 -0500 (EST) Date: Wed, 3 Dec 2003 02:44:47 -0500 From: parv To: Rob Ellis , freebsd-questions@freebsd.org Message-ID: <20031203074447.GA3923@moo.holy.cow> Mail-Followup-To: Rob Ellis , freebsd-questions@freebsd.org References: <20031201031602.GA80581@bsdjunky.homeunix.org> <20031202225359.GA1125@moo.holy.cow> <20031203023235.GB88571@web.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031203023235.GB88571@web.ca> 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: Wed, 03 Dec 2003 07:40:39 -0000 in message <20031203023235.GB88571@web.ca>, wrote Rob Ellis thusly... > > On Tue, Dec 02, 2003 at 05:53:59PM -0500, parv wrote: > > > > It pains me not to see even a mention of sed ... To rectify the > > situation... > > > > sed -e 's/^M$//' old > new && mv -f new old > > > > Freebsd's sed has -i > > sed -ie 's/^M$//' old I forgot about that; thanks for the reminder. - Parv --