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>
This commit is contained in:
Denys Vlasenko
2010-08-05 17:19:27 +02:00
parent e74d79866c
commit b0fbe4b540
6 changed files with 104 additions and 71 deletions

View File

@@ -0,0 +1,3 @@
FOO='a*b\*c'
echo "${FOO//\\*/-backslashstar-}"
echo Done: $?