This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Shell scripts requiring bash


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]