Re: [PATCH] Fix sed syntax in t7502-commit for OSX
- Date: Thu, 15 May 2008 11:37:32 +0200
- From: "Santi Béjar" <sbejar@xxxxxxxxx>
- Subject: Re: [PATCH] Fix sed syntax in t7502-commit for OSX
On Thu, May 15, 2008 at 10:37 AM, Junio C Hamano <gitster@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html