aboutsummaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-quoting/bkslash_case2.tests
blob: 348ddc236f56a35a62346c6f10ff2273c8a61cfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
x='\abc'

case "$x" in
\\*) echo ok1;;
*)   echo BUG1;;
esac

case $x in
\\*) echo ok2;;
*)   echo BUG2;;
esac

echo Ok:$?