Re: Gettext solution (Was: Re: gettext packages)
> On Wed, Jun 02, 1999 at 01:29:17AM +0100, Julian Gilbey wrote:
> > After contacting the gettext author, a far better solution has
> > presented itself than using the gettext script directly: use bash for
> > any i18n shell scripts and the $"..." syntax of bash. This calls the
> > gettext intl library directly (via libc) without needing any external
> > binaries. This is, of course, the canonical correct solution to the
> > problem, rendering this whole feature request unnecessary.
> So this means we have to stick with bash?
Or use the incantation:
if command -v gettext; then echo=gettext; else echo=echo; fi
and use $echo in place of echo everywhere.
But then I would again completely encourage splitting the gettext
package.
Julian
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Julian Gilbey, Dept of Maths, QMW, Univ. of London. J.D.Gilbey@qmw.ac.uk
Debian GNU/Linux Developer, see http://www.debian.org/~jdg
Reply to: