https://bugs.exim.org/show_bug.cgi?id=1665

            Bug ID: 1665
           Summary: Switch -ql quiet files-with-matches should not show
                    files with matches
           Product: PCRE
           Version: 10.10 (PCRE2)
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
          Assignee: p...@hermes.cam.ac.uk
          Reporter: bugzilla.sever...@spamgourmet.com
                CC: pcre-dev@exim.org

echo 'bar' > 'foo'; pcregrep -ql 'bar' 'foo'; pcre2grep -ql 'bar' 'foo'; grep
-ql 'bar' 'foo'

Nothing should be displayed. Unfortunately with pcre adding -l defeats the -q
switch so we see foo from pcre*grep. -q explicitly states that it will only
show errors. These file names are not errors.

When -q is added to -l, you get the behavior of -l without the output.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to