Shell scripts requiring bash
Joseph S. Myers
joseph@codesourcery.com
Mon Mar 19 20:26:00 GMT 2012
On Mon, 19 Mar 2012, David Miller wrote:
> All of our scripts in the libc tree should be POSIX shell scripts and
> therefore there is no reason to require BASH explicitly anywhere.
I'd tend to agree with that for scripts that get installed - it would be
good for them to work on systems without bash - but for the build and test
process I think it's reasonable to use bash (just like various other GNU
tools are needed).
However, the installed scripts certainly aren't purely POSIX at present;
various do at least explicitly use bash in their #! lines. Many use $""
for i18n, as an example of a bash feature being used.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list