https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254110

            Bug ID: 254110
           Summary: grep/bsdgrep(1) -C/--context doesn't behave as
                    advertised
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: [email protected]
          Reporter: [email protected]

-C or --context with no count following is supposed to behave as -C2 but
instead it is treated as an error. This affects all versions back as far as
7.0-RELEASE.

The 1-character fix is that C: in the option string should be C::, ie two
colons not one.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to