summaryrefslogtreecommitdiffhomepage
path: root/shell/ash_test/ash-misc/func_args1.tests
blob: d394c637f9d5f4f1bbdd942ef78cff59d4b3bf26 (plain)
1
2
3
4
5
6
7
8
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"