Date: Mon, 4 Nov 2002 23:00:20 -0200 From: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> To: Edwin Groothuis <edwin@mavetju.org> Cc: ports@FreeBSD.ORG Subject: Re: funny REINPLACE_CMD failure for \r Message-ID: <20021105010042.97178.qmail@exxodus.fedaykin.here> In-Reply-To: <20021105003210.GA92795@k7.mavetju> References: <20021105003210.GA92795@k7.mavetju>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021105010042.97178.qmail>