On Friday, September 26, 2014 02:17:03 PM Eric Blake wrote: > Ugg. Anyone advising people to write bash functions while using the > obsolete keyword 'function' ought to be questioned about their advice in > general.
It's mainly the combination of `function` and `()` that make no sense in any context. I usually prefer the function keyword especially for bash functions, but it's entirely for portability reasons that not a lot of people care about. (this opinion could also change if the ksh dynamic scope option becomes less buggy before the next version, or dash were to make some improvements to make me care about its locals, among other things.) -- Dan Douglas
signature.asc
Description: This is a digitally signed message part.