---------- Post updated at 03:23 PM ---------- Previous update was at 03:13 PM ----------
Watch out : if your file is Pdf or pDf you will miss it !
Consider the following examples :
# ls -1 ?.*
a.pdf
b.Pdf
c.pDF
d.PDF
e.dFp
# for i in *.[pPdDfF]??;do echo $i;done
a.pdf
b.Pdf
c.pDF
d.PDF
e.dFp
# for i in *.[pP][dD][fF];do echo $i;done
a.pdf
b.Pdf
c.pDF
d.PDF
# for i in *.@(pdf|PDF);do echo $i;done
a.pdf
d.PDF
In red , the most accurate matching... depending on your needs