Package: grep
Version: 2.14-1
Severity: wishlist
Tags: upstream

Hi,

I have a use case where I have a large amount of text incoming on stdin, and
a list of regular expressions in a file. I want to know whether there are
regular expressions in the file that match none of the lines of stdin.
(Ideally I'd also want to know which ones these are, but that's less
important.)

Currently, grep can't do this. While this use case is perhaps too specific,
the problem could be solved if grep could print matching regexes instead of
matching text; I could then pipe its output through | sort -u | wc -l and
see if that equals the number of lines in my file.

Please add this feature.

Thanks!

-- 
                     Andras Korn <korn at elan.rulez.org>
   I'm sure if Vimes were to say 'Jump!', Detritus would say 'What colour?'


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to