From: Ævar Arnfjörð Bjarmason Date: Sun, 16 May 2010 13:12:55 GMT Subject: Re: Has anyone looked at Gettext support for Git itself? Message-ID: In-Reply-To: <20100516053651.GB17200@dpotapov.dyndns.org> On Sun, May 16, 2010 at 05:36, Dmitry Potapov wrote: > 'echo -n' is not portable, and it is not used in git for this reason. > If gettext does not add the trailing newline to the message then it is > clearly not equivalent replacement. That was just meant to be a non-working example of how we could read gettext from .sh too. I didn't actually try to run it. Obviously a real implementation wouldn't use 'echo -n' and wouldn't suffer from newline issues. I just wanted to show that regardless of whether the program is in C, Perl or Shell a gettext implementation can degrade gracefully. That's all.