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

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 8, 2019 at 7:44 PM Kyle Evans <kevans@freebsd.org> wrote:
>
> 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)
>

It's a trivial enough fix that I verified it and just went ahead to
commit it as r342874; sorry for that!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACNAnaEOduJ1TGQNerMPwx6hiiVSGAgPqHWLNy3f-5bO6Z%2BNOg>