This is total nerdorama, so feel free to take whatever potshots are required for such a pencil-necked question. I've done what feels like an exhaustive search online, and can't quite come up with a solution, so for those familiar with working on the shell in *ix, how would you accomplish the following:
Trying to recursively locate all files which contain a pattern, and list the filenames. I have used the following to find whether there ARE files with a pattern, but haven't figured out how to modify it so that it tells me which file resulted in a match (the end result is it prints the line with the matching pattern to STDOUT, but doesn't prepend that with the name of the file, which WOULD be the case if I weren't running this through xargs):
find . -type f -name "*.*"| xargs -i grep pattern '{}'
Thanks