Recently I found a weird thing in shell script. It behave different with how I think when I using ~ (bitwise not operation). Following is sample code in shell:<
~