README 437 B

123456789101112131415161718192021222324252627
  1. Anti-example:
  2. $ env | grep -E '^V='
  3. $ V="x" echo $V
  4. $ V="x"; echo $V
  5. x
  6. $ env | grep -E '^V='
  7. $ V="y" env | grep -E '^V='
  8. V=y
  9. $ V="y" echo $V
  10. x
  11. # ANTI-FEATURES
  12. ## expansion
  13. In normal shells:
  14. $ X="a b" ; ls $X
  15. ls: a: No such file or directory
  16. ls: b: No such file or directory
  17. $ X="a b" ; ls "$X"
  18. ls: a b: No such file or directory
  19. In our shell, one lexical token stays one lexical token.
  20. In our shell, we exit on undefined variables