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

            Bug ID: 263268
           Summary: bsdgrep: support empty subexpressions
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: b...@freebsd.org
          Reporter: lw...@freebsd.org
                CC: kev...@freebsd.org

$ echo foo | egrep "|foo"
egrep: empty (sub)expression

more complex case: "^${user}(|[[:space:]]+.*)$"

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

Reply via email to