の代わりにtest foo bar
onlyの出力が表示されるのはなぜですか?foo
foo bar
$ cat test
function f
{
local args=$1
echo $args
}
f "$@"
$ bash test foo bar
foo
の代わりにtest foo bar
onlyの出力が表示されるのはなぜですか?foo
foo bar
$ cat test
function f
{
local args=$1
echo $args
}
f "$@"
$ bash test foo bar
foo