From: Ævar Arnfjörð Bjarmason Date: Mon, 23 May 2011 12:09:40 GMT Subject: Re: [PATCH 1/3] setup: Provide GIT_PREFIX to built-ins Message-ID: In-Reply-To: <1306058229-93800-1-git-send-email-davvid@gmail.com> On Sun, May 22, 2011 at 11:57, David Aguilar wrote: > +       printf "#!/bin/sh\n" >diff && > +       printf "printf \"\$GIT_PREFIX\"\n" >>diff && If you're going to use /bin/sh (which might be a non-POSIX shell) it's probably better to use echo than rely on printf understanding \n.