Re: [PATCH] Fix sed syntax in t7502-commit for OSX
On Thu, May 15, 2008 at 10:37 AM, Junio C Hamano <gitster@pobox.com> wrote:
>
> But more importantly, as we are serious about portability, we should not
> be using "sed -i" which is not even in POSIX to begin with.
Is there a way (environment variable, flag) to test if it is POSIX? Or we just have to know?
I'll send a patch to document the "sed -i" issue in Documentation/CodingGuidelines.
> Can we
> rewrite these places without using the in-place extension?
Yes, I'll do it soon if nobody beats me.
Santi