hush/shell/ash_test/ash-vars/var_bash4.tests
Denys Vlasenko b0fbe4b540 ash: add a testcase for bug 2281 (currently fails). Small code cleanups.
function                                             old     new   delta
changepath                                           195     192      -3
subevalvar                                          1204    1200      -4
readtoken1                                          3247    3240      -7
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-14)             Total: -14 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-08-05 17:19:27 +02:00

4 lines
62 B
Plaintext
Executable File

FOO='a*b\*c'
echo "${FOO//\\*/-backslashstar-}"
echo Done: $?