#425547 option to display matching pattern

Package:
grep
Source:
grep
Description:
GNU grep, egrep and fgrep
Submitter:
martin f krafft
Date:
2014-11-20 08:57:12 UTC
Severity:
wishlist
#425547#3
Date:
2007-05-22 13:14:07 UTC
From:
To:
Given multiple patterns (-f/-e), it would be nice if grep could be
told to let me know which pattern (index or actual pattern) matched
in each case. (this would make logcheck development soooo much
easier, among other things).