Re: [PATCH 20/20] gettextize: git-am printf(1) message to eval_gettext
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Sep 7, 2010, 20:32 UTC
- Message-ID
- <AANLkTim1+BSZJt-LBkytXJvYujd8zhNeZCu29752P63G@mail.gmail.com>
- In-Reply-To
- <AANLkTimDofOpfOrFisvP-1+qn1DYuk1oq2anjUcCHQw6@mail.gmail.com>
Ævar Arnfjörð Bjarmason wrote:
> In any case we could solve those with printf "%s" $str.
In general
printf "%s\n" "$str"
is more reliable than
echo "$str"
, yes. See <http://www.opengroup.org/onlinepubs/9699919799/utilities/echo.html>.