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

Craig Leres <le...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #215407|0                           |1
        is obsolete|                            |

--- Comment #2 from Craig Leres <le...@freebsd.org> ---
Created attachment 215428
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=215428&action=edit
revised patch

I see now the wrapper script fails when the flags are not discrete:

    # Works
    % fgrep -we RELEASE /etc/motd
    FreeBSD 12.1-RELEASE-p3 GENERIC

    # Fails
    % zfgrep -we RELEASE /etc/motd
    grep: RELEASE: No such file or directory

This updated patch takes advantage of the fact that "extra argument" flags must
come last. It also lets "-e PATTERN" pass through to *grep with other flags
instead of moving the pattern to the end.

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

Reply via email to