busybox/shell/hush_test/hush-quoting/bkslash_in_varexp1.tests
Denys Vlasenko 55f8133a4f shell: tweak bkslash_in_varexp.tests, add bkslash_in_varexp1.tests
It turns out bkslash_in_varexp.tests was a bash bug :]

ash and hush fail "corrected" bkslash_in_varexp.tests as well,
just not as badly as I thought (hush gets half of the cases right).

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-03-02 18:12:12 +01:00

7 lines
111 B
Plaintext
Executable File

x=a
echo Nothing:${x#[]a]}
echo Nothing:"${x#[]a]}"
echo Nothing:${x%[]a]}
echo Nothing:"${x%[]a]}"
echo Ok:$?