List file names based on a filename pattern and file content?
Grep DOES NOT use “wildcards” for search – that’s shell globbing, like *.jpg. Grep uses “regular expressions” for pattern matching. While in the shell ‘*’ means “anything”, in grep it means “match the previous item zero or more times”. More information and examples here: http://www.regular-expressions.info/reference.html To answer of your question – you can find files … Read more