nima / site

Modular shell-scripting framework - 99% native bash, 1% phat!
http://nima.github.io/site/
5 stars 4 forks source link

Period `.' is not a good `tldid' #33

Open nima opened 10 years ago

nima commented 10 years ago

The problem arises when a bash associative array attempts to look up a key of `.'. If the key is set, all is good; however if not, it turns into a syntax error which is difficult to work with:

bash: .: syntax error: operand expected (error token is ".")