Date: Tue, 5 Nov 2002 12:39:45 +1100 From: Edwin Groothuis <edwin@mavetju.org> To: Adam Weinberger <adamw@FreeBSD.ORG> Cc: ports@FreeBSD.ORG Subject: Re: funny REINPLACE_CMD failure for \r Message-ID: <20021105013945.GC50581@k7.mavetju> In-Reply-To: <20021105013354.GA197@vectors.cx> References: <20021105003210.GA92795@k7.mavetju> <20021105013354.GA197@vectors.cx>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 04, 2002 at 05:33:54PM -0800, Adam Weinberger wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > >> (11.04.2002 @ 1632 PST): Edwin Groothuis said, in 0.7K: << > > 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. > > > > Edwin > >> end of "funny REINPLACE_CMD failure for \r" from Edwin Groothuis << > > Does ^V^M not work? Yes it does and lioux is using it right now, but then if you cat it you don't see it. What is wisdom in these cases? :-/ Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Weblog: http://www.mavetju.org/weblog/weblog.php bash$ :(){ :|:&};: | Interested in MUDs? http://www.FatalDimensions.org/ 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?20021105013945.GC50581>