bkslash_case2.tests 123 B

12345678910111213
  1. x='\abc'
  2. case "$x" in
  3. \\*) echo ok1;;
  4. *) echo BUG1;;
  5. esac
  6. case $x in
  7. \\*) echo ok2;;
  8. *) echo BUG2;;
  9. esac
  10. echo Ok:$?