Looks like -o ignores -i? $ echo "AA" |grep -i "aa" AA $ echo "AA" |grep -io "aa" $ uname -r 2.6.16.60-0.57.1-smp