3df47f9cbb
Test case: unset a echo "${a:-~root}" Old result: /root New result: ~root Based on commit 170f44d from git://git.kernel.org/pub/scm/utils/dash/dash.git by Herbert Xu function old new delta evalvar 598 604 +6 parse_command 1440 1443 +3 localcmd 325 327 +2 readtoken1 3199 3200 +1 argstr 1180 1164 -16 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/1 up/down: 12/-16) Total: -4 bytes Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> |
||
---|---|---|
.. | ||
var1.right | ||
var1.tests | ||
var2.right | ||
var2.tests | ||
var3.right | ||
var3.tests | ||
var_bash1.right | ||
var_bash1.tests | ||
var_bash2.right | ||
var_bash2.tests | ||
var_bash3.right | ||
var_bash3.tests | ||
var_bash4.right | ||
var_bash4.tests | ||
var_bash5.right | ||
var_bash5.tests | ||
var_leak.right | ||
var_leak.tests | ||
var_posix1.right | ||
var_posix1.tests | ||
var-do-not-expand-tilde-in-parameter-expansion-in-quotes.right | ||
var-do-not-expand-tilde-in-parameter-expansion-in-quotes.tests | ||
var-expand-tilde-in-parameter-expansion.right | ||
var-expand-tilde-in-parameter-expansion.tests |