Re: Translation of init scripts
On Tue, Jul 13, 1999 at 12:08:31AM +0100, Julian Gilbey wrote:
> printf "`$echo 'Starting %s: %s'`" foo bar
> Don't you just love shell quoting?!
I do, but this would be twice as slow :-)
> BTW, you probably want to use something like:
> if test -x /usr/bin/gettext; then echo='gettext -s'; else echo=echo; fi
> or similar instead of assuming that gettext exists.
if test -x /etc/init.d/setlang.sh
then echo="gettext -s"
this is pretty much what I did. It only assumes that
/etc/init.d/setlang.sh is distributed _with_ gettext.
I am Lalo of deB-org. You will be freed.
Resistance is futile.
pgp key in the web page
Debian GNU/Linux -- http://www.debian.org