Commit ID: 100576F19E14572FB35
CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2016/06/25 23:55:01 UTC
Modified files:
bin/mksh : check.t eval.c lex.c
Log message:
fix most of the ambiguous ${[prefix] var [op [word]]} corner cases
prodded by izabera and carstenh; resolution is:
• you can’t trim a vector in mksh, still (consider ${@:-1})
• future POSIX will require non-empty “word” for most “op”s
• dissolve in order of standard → extension
• dissolve to prefer “op” over “prefix” where still necessary, mostly
To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.733 -r1.734 src/bin/mksh/check.t
cvs -R rdiff -kk -upr1.187 -r1.188 src/bin/mksh/eval.c
cvs -R rdiff -kk -upr1.224 -r1.225 src/bin/mksh/lex.c