If I list a number of file extensions in an exclude list, grep still finds the files if the extensions differ in case - i.e. excluding .str still will hit on .Str or *.STR (or any other version).
Since Windows is case-insensitive it seems that it would make sense to simply ignore any case differences when doing filename comparisons.
At the moment I have to pre-process my files to rename the extensions to lowercase.
If I'm missing something obvious, please point it out to me! The case insensitive option does not affect this matching, only the grep itself.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If I list a number of file extensions in an exclude list, grep still finds the files if the extensions differ in case - i.e. excluding .str still will hit on .Str or *.STR (or any other version).
Since Windows is case-insensitive it seems that it would make sense to simply ignore any case differences when doing filename comparisons.
At the moment I have to pre-process my files to rename the extensions to lowercase.
If I'm missing something obvious, please point it out to me! The case insensitive option does not affect this matching, only the grep itself.