Update of bug #22100 (project grep):
Status: None => Wont Fix
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #2:
I think you really should use sed:
grep -l "Sherlock Holmes" * | xargs sed -rn
's/^Email: ([a-z0-9_...@[a-z0-9_.]+)$/1/p'
In fact, the proposed --file-match cannot be implemented with a single scan
of the file (and that's all you can do if the input is a pipe).
If anything, it may be interesting to implement --and / --or like git grep.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?22100>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/