I generally use perl one liners instead of grep to search through files.
For example following prints all the locations containing #include <stdio.h>
perl -ne "print if(/#include\s*[\"<]stdio.h/)" */*.[ch]
But I could not find a way to print the filename that got these lines. I tried to print $ARGV[0]
but no avail.
So, how do you print the filenames that contain these lines?