[Bug 277784] textproc/gnugrep: obsolescence warning should be silenced

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 18 Mar 2024 13:56:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277784

            Bug ID: 277784
           Summary: textproc/gnugrep: obsolescence warning should be
                    silenced
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: danfe@FreeBSD.org
          Reporter: fuz@FreeBSD.org
          Assignee: danfe@FreeBSD.org
             Flags: maintainer-feedback?(danfe@FreeBSD.org)
             Flags: merge-quarterly?

The tools egrep and fgrep as shipped by this package print annoying
obsolescence warnings every time they are used:

$ cat /usr/local/bin/fgrep                                                      
#!/bin/sh
cmd=${0##*/}
echo "$cmd: warning: $cmd is obsolescent; using /usr/local/bin/ggrep -F" >&2
exec /usr/local/bin/ggrep -F "$@"

These warnings interfere with scripts like "make stage-qa" that internally use
egrep and cause some of my unit tests to fail.

Please patch the port to discard the warnings.

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