var5.tests 228 B

1234567891011121314
  1. # check that first assignment has proper effect on second one
  2. (
  3. a=a A=$a
  4. echo a=$a A=$A
  5. )
  6. (a=a A=$a; echo a=$a A=$A)
  7. (a=a A=$a echo a=$a A=$A)
  8. (a=a A=$a /bin/echo a=$a A=$A)
  9. f() { echo a=$a A=$A; }
  10. (a=a A=$a f)
  11. (a=a A=$a; f)