From: Santi Béjar Date: Thu, 15 May 2008 09:37:32 GMT Subject: Re: [PATCH] Fix sed syntax in t7502-commit for OSX Message-ID: <8aa486160805150237t734b24dcw4a153e41cbc7436e@mail.gmail.com> In-Reply-To: <7vwslwgdyi.fsf@gitster.siamese.dyndns.org> On Thu, May 15, 2008 at 10:37 AM, Junio C Hamano 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