From owner-freebsd-ports Mon Nov 4 17:35:55 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 369D337B401 for ; Mon, 4 Nov 2002 17:35:54 -0800 (PST) Received: from heaven.gigo.com (heaven.gigo.com [64.57.102.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D97743E3B for ; Mon, 4 Nov 2002 17:35:53 -0800 (PST) (envelope-from lioux@brturbo.com) Received: from 200-193-224-204-bsace7003.dsl.telebrasilia.net.br (200-193-224-204-bsace7003.dsl.telebrasilia.net.br [200.193.224.204]) by heaven.gigo.com (Postfix) with ESMTP id 2E328B85F for ; Mon, 4 Nov 2002 17:35:43 -0800 (PST) Received: (qmail 97179 invoked by uid 1001); 5 Nov 2002 01:00:42 -0000 Message-ID: <20021105010042.97178.qmail@exxodus.fedaykin.here> Date: Mon, 4 Nov 2002 23:00:20 -0200 From: Mario Sergio Fujikawa Ferreira To: Edwin Groothuis Cc: ports@FreeBSD.ORG Subject: Re: funny REINPLACE_CMD failure for \r References: <20021105003210.GA92795@k7.mavetju> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021105003210.GA92795@k7.mavetju> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 4.7-STABLE X-Disclaimer: I hope you find what you are looking for... in life :) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Nov 05, 2002 at 11:31:48AM +1100, Edwin Groothuis wrote: > Greetings, > > It seems that REINPLACE_CMD doesn't know how to handle \r's in the > expression, "-e 's!\r!!'" fails all the time for me (no matter how > much \'s I add to it :-). Right now I just replace these by > "${TR} -d '\015' < file > file.new; {$MV} file.new file" > but I was wondering if somebody has a better solution for it. Well, I have an ugly working solution s/ // is a control-v + control-m -- Mario S F Ferreira - DF - Brazil - "I guess this is a signature." Computer Science Undergraduate | FreeBSD Committer | CS Developer flames to beloved devnull@someotherworldbeloworabove.org feature, n: a documented bug | bug, n: an undocumented feature To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message