Samuel Thibault <samuel.thiba...@gnu.org> skribis: > Ludovic Courtès, le Mon 07 Nov 2011 22:43:22 +0100, a écrit : >> These two scripts really need a plain POSIX shell, not necessarily >> Bash. This patch changes the shebang accordingly. > > Mmm, are "local" and functions really in POSIX shells? dash refuses > the function keyword,
Good points. Functions are POSIX, but with the f() notation can be used as you wrote [0]. ‘local’ isn’t POSIX actually but it’s only used once. Hmm, should we ignore the patch for now? What bothers me is the hardcoded /bin/bash. Ludo’. [0] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_05