busybox/shell/ash_test/ash-quoting/bkslash_case2.tests

14 lines
123 B
Plaintext
Raw Normal View History

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