hush/shell/hush_test/hush-misc/func_args1.tests

9 lines
145 B
Plaintext
Raw Normal View History

2009-04-20 10:52:31 +00:00
f() { echo "'f $1 $2 $3' called"; }
set -- a b c
echo "params: $1 $2 $3"
f 1 2 3
echo "params: $1 $2 $3"
true | f 1 2 3
echo "params: $1 $2 $3"