ignore-case flags in shell commands

on
  • sort -f
  • uniq -i grep -i
  • find -iname (Like -name, but the match is case insensitive)
    find -iregex (Like -regex, but the match is case insensitive)
    and many more find -i’s.
  • ls : no case insensitive search possible
  • sed -e ‘s/REGEXP/REPLACE/gI’
    Alternative sed -e ‘s/[a-zA-Z]/REPLACE/g’
    ie:
    $ echo AbCdefXyZ | sed ‘s/[c-e]/1/gI’
    gives the same result as
    $ echo AbCdefXyZ | sed ‘s/[c-eC-E]/1/g’)

But…. The ignorecase indicator. Is mostly case sensitive.