3
0

arith-ternary2.tests 124 B

1234567
  1. exec 2>&1
  2. a='b=+err+'
  3. b=5
  4. # The not-taken branch should not parse variables
  5. echo 6:$((0 ? a : ++b))
  6. echo "a=$a"
  7. echo "b=$b"