From: Brian Gernhardt Date: Mon, 23 Nov 2009 18:50:30 GMT Subject: Re: [PATCH] t/gitweb-lib: Split HTTP response with non-GNU sed Message-ID: In-Reply-To: <7vocmtyu3v.fsf@alter.siamese.dyndns.org> On Nov 23, 2009, at 1:27 PM, Junio C Hamano wrote: > Brian Gernhardt writes: > >> Recognizing \r in a regex is something GNU sed will do, but other sed >> implementation's won't. (Found with BSD sed on OS X.) So use a >> literal carriage return instead. > > I'd actually prefer not having to deal with this issue. How about doing > something like this instead? Works for me. I just went for the obvious minimal change to make it work. But since we're testing a perl script, we might as well just use perl to deal with it's output. ~~ Brian