Re: [PATCH] t/gitweb-lib: Split HTTP response with non-GNU sed
On Nov 23, 2009, at 1:27 PM, Junio C Hamano wrote:
Show 8 quoted lines
> Brian Gernhardt <brian@gernhardtsoftware.com> 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