3 ms·
What's more horrible about it is that the simpler sh constructs are somehow not respected in bash culture. In sh, each function has a local array, and you use
by jstimpfle 10y ago
What's more horrible about it is that the simpler sh constructs are somehow not respected in bash culture.
In sh, each function has a local array, and you use that array with "$@". And typically you can get along with only that array. Not so bad.
my_b() {
somefunc foo "$@" bar
}