OILS
/
spec
/
testdata
/ source-argv.sh
View on Github
|
oilshell.org
7 lines, 3 significant
1
#!/usr/bin/env bash
2
3
echo source-argv: $@
4
# 'shift' will only apply to the args of 'f()' when no new args are provided.
5
# This can mutate the "caller's" arguments array!
6
shift
7
local foo=foo_val