func5.tests 104 B

12345678910111213
  1. f() { echo $1; }
  2. f 1
  3. f() ( echo $1; )
  4. f 2
  5. f() ( echo $1 )
  6. f 3
  7. f() for i in 1 2 3; do
  8. echo $i
  9. done
  10. f