On Sun, May 16, 2010 at 05:36, Dmitry Potapov <dpotapov@xxxxxxxxx> 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. -- 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