Make bootscripts more POSIX compliant

Dan Nicholson dbn.lists at
Tue Feb 20 00:33:00 PST 2007

On 2/20/07, Alexander E. Patrakov <patrakov at> wrote:
> Dan Nicholson wrote:
> > How would an implementation of translated messages work in general? gettext?
> Yes - but the use of $"Message to be translated" syntax requires
> #!/bin/bash. The only difference from the original bootscript would be to
> change the interpreter, add $ before every translatable string (in one case,
> this requires making the string translatable), and add *.po files. Russian
> and Spanish po files already exist for old bootscripts.

In the Advanced Bash Scripting Guide they seem to suggest using $"..."
is deprecated and gettext should be used directly.

So, any localization might be best done in a portable manner anyway.
That would require moving gettext to /bin, though.


More information about the lfs-dev mailing list