3
0

func_args1.tests 145 B

12345678
  1. f() { echo "'f $1 $2 $3' called"; }
  2. set -- a b c
  3. echo "params: $1 $2 $3"
  4. f 1 2 3
  5. echo "params: $1 $2 $3"
  6. true | f 1 2 3
  7. echo "params: $1 $2 $3"