Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Feb 2021 16:13:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 253350] Grep regression with--after-context (-A) and --max-count (-m) switches
Message-ID:  <bug-253350-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253350

            Bug ID: 253350
           Summary: Grep regression with--after-context (-A) and
                    --max-count (-m) switches
           Product: Base System
           Version: 13.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: fbsd-bugzilla@schlachter.ca

Example file:

$ cat test-grep.txt=20
foo
bar
foo
bar
foo
bar

grep behavior in 12.2-RELEASE:

$ grep -A1 -m1 foo test-grep.txt=20
foo
bar

grep behavior in 13.0-BETA1:

$ grep -A1 -m1 foo test-grep.txt
foo

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253350-227>