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

9 lines
145 B
Plaintext
Raw Normal View History

2009-04-20 16:22:31 +05:30
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"