diff options
author | Denys Vlasenko | 2010-08-07 22:24:36 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-08-07 22:24:36 +0200 |
commit | 33bbb27e45c7c6a0fecb40b3a5aa36aef69825f9 (patch) | |
tree | b1038e6280788218428409acf45158bf0013c5d0 /shell/ash_test/ash-vars/var_bash4.tests | |
parent | 58a15cd9d2765e9b9bca6b71ad9713bcc3784821 (diff) | |
download | busybox-33bbb27e45c7c6a0fecb40b3a5aa36aef69825f9.zip busybox-33bbb27e45c7c6a0fecb40b3a5aa36aef69825f9.tar.gz |
ash: fix another bit of var_bash4 bug
But it _still_ doesn't pass! quoted case is a tough nut to crack
function old new delta
redirect 1281 1286 +5
subevalvar 1141 1142 +1
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-vars/var_bash4.tests')
-rwxr-xr-x | shell/ash_test/ash-vars/var_bash4.tests | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash_test/ash-vars/var_bash4.tests b/shell/ash_test/ash-vars/var_bash4.tests index a6e98fd..d547061 100755 --- a/shell/ash_test/ash-vars/var_bash4.tests +++ b/shell/ash_test/ash-vars/var_bash4.tests @@ -30,7 +30,7 @@ v='a\bc' echo 'Source: ' "$v" echo 'Replace str: ' '_\\_\z_' -echo 'Pattern: ' 'single backslash and b: "replace literal b"' +echo 'Pattern: ' 'single backslash and b: "replace b"' r=${v/\b/_\\_\z_} echo 'In assignment:' "$r" echo 'Unquoted: ' ${v/\b/_\\_\z_} |