Skip to content

Latest commit

 

History

History

docs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
Anti-example:
$ env | grep -E '^V='
$ V="x" echo $V

$ V="x"; echo $V
x
$ env | grep -E '^V='
$ V="y" env | grep -E '^V='
V=y
$ V="y" echo $V
x

# ANTI-FEATURES

## expansion

In normal shells:

$ X="a b" ; ls $X
ls: a: No such file or directory
ls: b: No such file or directory
$ X="a b" ; ls "$X"
ls: a b: No such file or directory

In our shell, one lexical token stays one lexical token.
In our shell, we exit on undefined variables