freebsd-skq/tools/regression/bin/sh
Jilles Tjoelker 634e9188af sh: Do tilde expansion in substitutions.
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)
2010-04-03 22:04:44 +00:00
..
builtins sh: Do not abort on a redirection error on a compound command. 2010-03-14 14:24:35 +00:00
errors sh: Do not abort on a redirection error on a compound command. 2010-03-14 14:24:35 +00:00
execution Fix some cases where file descriptors from redirections leak to programs. 2009-11-29 22:33:59 +00:00
expansion sh: Do tilde expansion in substitutions. 2010-04-03 22:04:44 +00:00
parameters sh: Make sure the mail2.0 test can actually fail if $MAIL is not touched. 2010-02-08 18:57:18 +00:00
parser sh: Fix various things about expansions: 2010-04-03 20:55:56 +00:00
set-e Add tests for r193169. 2009-05-31 17:23:27 +00:00
Makefile
regress.sh
regress.t