busybox/shell/ash_test/ash-quoting/bkslash_case2.tests
Denys Vlasenko abf755615e hush: fix a backslash-removal bug in case
function                                             old     new   delta
run_list                                            1270    1053    -217

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-04-02 17:25:18 +02:00

14 lines
123 B
Plaintext
Executable File

x='\abc'
case "$x" in
\\*) echo ok1;;
*) echo BUG1;;
esac
case $x in
\\*) echo ok2;;
*) echo BUG2;;
esac
echo Ok:$?