diff options
author | Ron Yorston <rmy@pobox.com> | 2015-05-18 09:51:35 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2015-05-18 09:51:35 +0200 |
commit | eb6b48ba743d510ad9e6f9c3a8b3899d1eb9b5f3 (patch) | |
tree | 7db919fa839cfddeae720dccb60f8e969bd5d6c9 /coreutils/tail.c | |
parent | d68d1fbd6cb31a61975112acb1c792735a063847 (diff) | |
download | busybox-eb6b48ba743d510ad9e6f9c3a8b3899d1eb9b5f3.tar.gz |
ash: perform tilde expansion in all parameter expansion words
Previously tilde expansion was not carried out for =?#% expansion words.
Test case:
a=~root:~root
echo ${a#~root}
Old result:
/root:/root
New result:
:/root
Based on commit dd721f71 from git://git.kernel.org/pub/scm/utils/dash/dash.git
by Herbert Xu
function old new delta
subevalvar 1152 1153 +1
Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/tail.c')
0 files changed, 0 insertions, 0 deletions