Is it intentional that you have newlines in both keys an values?
And what is a "case-sensitive mismatch"? Do you want to search file contents, or just file names? In your snippet, where does $key come from?
You probably want glob '*.mk' instead of *.mk.
See also: I know what I mean. Why don't you?.
In reply to Re: How to make sure only case-sensitive grep's get pushed
by moritz
in thread How to make sure only case-sensitive grep's get pushed
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |