case 5 in [0"$((-9))"]) echo bad1 ;; esac case - in [0"$((-9))"]) ;; *) echo bad2 ;; esac