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