mirror of
https://git.busybox.net/busybox
synced 2025-05-10 04:33:59 +02:00
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>
2 lines
30 B
Text
Executable file
2 lines
30 B
Text
Executable file
a=~root:~root
|
|
echo ${a#~root}
|