634e9188af
This applies to word in ${v-word}, ${v+word}, ${v=word}, ${v?word} (which inherits quoting from the outside) and in ${v%word}, ${v%%word}, ${v#word}, ${v##word} (which does not inherit any quoting). In all cases tilde expansion is only attempted at the start of word, even if word contains spaces. This agrees with POSIX and other shells. This is the last part of the patch tested in the exp-run. Exp-run done by: erwin (with some other sh(1) changes) |
||
---|---|---|
.. | ||
builtins | ||
errors | ||
execution | ||
expansion | ||
parameters | ||
parser | ||
set-e | ||
Makefile | ||
regress.sh | ||
regress.t |