I\'m searching a directory recursively using grep with the following arguments hoping to only return the first match. Unfortunately, it returns more than one -- in-fact two
A single liner, using find:
find
find -type f -exec grep -lm1 "PATTERN" {} \; -a -quit