>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:

Angus> Ok, Jean-Marc. The attached patch (to postats.sh only) produces
Angus> http://www.devel.lyx.org/~leeming/www-devel/i18n.php3 when run
Angus> as sh ./postats.sh *.po > i18n.php3

I am not sure I understand those lines:
+       # Does $translator contain 8-bit characters?
+       TAB='   '
+       echo $translator | grep "[^${TAB} -~]" >/dev/null && {

And also these:
+               # The ampersands in the $translator entries will mess things
+               # up unless we escape 'em.
+               translator=`echo $translator | sed 's/&/\\\&/g'`


Angus> I guess this is exactly what we're looking for, no?

Yep.

JMarc

Reply via email to