busybox/shell/hush_test/hush-vars/var_bash_repl_empty_var.tests
Denys Vlasenko cba79a87f8 hush: fix two corner cases in ${v/pattern/repl}. Closes 10686
function                                             old     new   delta
expand_one_var                                      1592    1618     +26

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-01-25 14:07:40 +01:00

4 lines
30 B
Plaintext
Executable File

v=''
echo ${v/*/w}
echo Ok:$?