3
0

mode_x.tests 225 B

1234567891011121314
  1. set -x
  2. var1=val
  3. var2='one two'
  4. true %s\\n one "two 'three" four
  5. # assignment:
  6. this=command
  7. # NOT assignment, +x code should show it quoted:
  8. "this=command"
  9. if true; then true; fi
  10. # +x code should quote 'if' here:
  11. "if" true