Shell scripts requiring bash

David Miller davem@davemloft.net
Mon Mar 19 20:28:00 GMT 2012


From: "Joseph S. Myers" <joseph@codesourcery.com>
Date: Mon, 19 Mar 2012 20:25:33 +0000 (UTC)

> 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).

I can't think of any bash specific feature that is absolutely necessary
nor makes life that much easier, even in the tests.

A POSIX shell provides everything might need.



More information about the Libc-alpha mailing list