[Bug 10821] ash: bash dollar not expanding inside quoted braced parameter expansion

bugzilla at busybox.net bugzilla at busybox.net
Mon Mar 5 14:28:21 UTC 2018


https://bugs.busybox.net/show_bug.cgi?id=10821

--- Comment #7 from avih <avihpit at yahoo.com> ---
> Also, as for this:
> 
> OK before 8de5b9f ash : fix double-quoted "\z" handling :
> (x=\'B; echo "${x#\'}")
> B
> 
> Bad after:
> (x=\'B; echo "${x#\'}")
> 'B

Also, with your 4 examples, all shells agree on all 4 results, except ash after
8de5b9f which disagrees on this specific case and behaves like so:

x='a]'; echo "_${x#[a\]]}_"
__

Where all other shells (including ash before 8de5b9f) print __]__  .

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list