nt9856x/BSP/busybox/shell/ash_test/ash-misc/func_args1.tests
2023-03-28 15:07:53 +08:00

9 lines
145 B
Plaintext
Executable File

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"