Permalink
Please sign in to comment.
Browse files
Respect flags like -r and -x to assignment keywords.
declare/typeset, local, and readonly all take the same flags. NOTE: We still don't do anything with -a. 'local -a foo' in bash creates a cell for a variable that is STILL undefined. That is, evaluating it will fail in 'set -o nounset' mode. Addresses issue #59.
- Loading branch information...
Showing
with
146 additions
and 6 deletions.
- +8 −6 core/cmd_exec.py
- +32 −0 core/word_compile.py
- +21 −0 spec/array.test.sh
- +85 −0 spec/assign.test.sh
0 comments on commit
7ffbfde