nt9856x/BSP/busybox/shell/ash_test/ash-quoting/bkslash_case2.tests
2023-03-28 15:07:53 +08: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:$?