From: Dmitry Potapov Date: Sun, 16 May 2010 05:36:51 GMT Subject: Re: Has anyone looked at Gettext support for Git itself? Message-ID: <20100516053651.GB17200@dpotapov.dyndns.org> In-Reply-To: On Sun, May 16, 2010 at 01:12:20AM +0000, Ævar Arnfjörð Bjarmason wrote: > > GETTEXT=`which gettext 2> /dev/null` > if [ -z $GETTEXT ] ; then GETTEXT='echo -n'; fi 'echo -n' is not portable, and it is not used in git for this reason. Dmitry > And then just: > > - echo "We are not bisecting." > + $GETTEXT "We are not bisecting." If gettext does not add the trailing newline to the message then it is clearly not equivalent replacement. Dmitry