[pcre-dev] [Bug 1665] New: Switch -ql quiet files-with-match…

Page principale
Supprimer ce message
Auteur: admin
Date:  
À: pcre-dev
Sujet: [pcre-dev] [Bug 1665] New: Switch -ql quiet files-with-matches should not show files with matches
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: ph10@???
          Reporter: bugzilla.severach@???
                CC: pcre-dev@???


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.