[MPlayer-dev-eng] [PATCH] replace echo with printf in help/help_diff.sh

Corey Hickey bugfood-ml at fatooh.org
Thu Aug 17 05:47:01 CEST 2006


Hi.

The attached patch replaces two 'echo' commands with 'printf' commands
in help/help_diff.sh. This fixes compilation with a non-English
translation when dash is the shell.

Dash echo interprets '\' as an escape such that "\n" becomes a real
newline, "\t" becomes a tab, etc. The same problem came up on
ffmpeg-devel a couple days ago, too, and printf was the solution.

Diego gave his "ok" to this patch on mplayer-advusers, but I wanted to
post it here just to be safe. I'll apply it tomorrow unless somebody
objects.

-Corey
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: help_diff_printf.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060816/8b543eae/attachment.txt>


More information about the MPlayer-dev-eng mailing list