Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jan 2019 19:44:57 -0600
From:      Kyle Evans <kevans@freebsd.org>
To:        Rebecca Cran <rebecca@bluestop.org>, Baptiste Daroussin <bapt@freebsd.org>
Cc:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   Re: grep(1) documents bsdgrep, but GNU grep is installed as 'grep'
Message-ID:  <CACNAnaET7P1DX5Laev7X2f0tR%2BQHdbBgU4H9WC8UG5fegpxwqA@mail.gmail.com>
In-Reply-To: <2719906.yzQzn1nXtE@photon.int.bluestop.org>
References:  <2719906.yzQzn1nXtE@photon.int.bluestop.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 8, 2019 at 7:36 PM Rebecca Cran via freebsd-stable
<freebsd-stable@freebsd.org> wrote:
>
> grep(1) documents the "--exclude-dir" option, but running "grep" complains
> it's unknown. Also, 'rgrep' doesn't exist.
> It turns out that the grep binary is GNU grep 2.5.1, while bsdgrep supports
> the option.
>
> Is WITH_BSD_GREP supposed to be defaulted to on for 12.0 and newer, or was the
> man page switched over too soon?
>

Yeah, I think we botched that -- maybe we'll call it optimism. =(
https://svnweb.freebsd.org/base/head/usr.bin/grep/Makefile?view=markup#l13
should read "MAN1= bsdgrep.1 zgrep.1" rather than grep.1 zgrep.1, I
believe. (CC bapt@ for a second eye, since this was during zgrep
stuff)

Thanks,

Kyle Evans



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACNAnaET7P1DX5Laev7X2f0tR%2BQHdbBgU4H9WC8UG5fegpxwqA>