Date: Tue, 21 Mar 2017 23:07:46 -0500 From: Kyle Evans <kevans91@ksu.edu> To: Jamie Landeg-Jones <jamie@dyslexicfish.net> Cc: <jamie@catflap.org>, FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>, Ed Maste <emaste@freebsd.org> Subject: Re: Freebsd 11 - /usr/bin missing [xl]zgrep/zegrep/zfgrep Message-ID: <CACNAnaE3xOSr709rO5c164rvJurr_DX4rg1crR2ofH-Kxz9K1Q@mail.gmail.com> In-Reply-To: <201703220354.v2M3sgKO034696@dyslexicfish.net> References: <201703220233.v2M2X8Jg033781@dyslexicfish.net> <CACNAnaF8npty7zyckfbT61Kr=WSW0AD-vKNQof-2dQF7=8VzQw@mail.gmail.com> <201703220354.v2M3sgKO034696@dyslexicfish.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 21, 2017 at 10:54 PM, Jamie Landeg-Jones > I realise there are advantages of GNUgrep and also advantages of BSDgrep, > hence why they are currently both available (and thanks for your work on > getting bsd grep up to parity) but I don't understand why on the default install, > xzgrep.. etc. are no longer linked to bsdgrep, unless there are problems > with them? (I notice the 32K limit bug has been fixed) - but then if there > were problems, they wouldn;t be linked whatever the configured system "grep" Ah, I see what you mean. I've no idea on the history here, but I believe the idea is that if I invoke one of these other links (zgrep, egrep, ...) I'm expecting it to be actually be grep(1) based purely on the name, and I don't consider bsdgrep(1) to be installed for anything but a courtesy. For grep(1) to be GNU grep while xzgrep to secretly be a link to BSD grep would be quite surprising to me as a user/admin, especially since there are very real output and argument differences between the two. This argument can be furthered by imagining the awkwardness that would come from a system where the fairly standard *grep links are a mix between BSD grep and GNU grep. > Hope this makes sense, I should have been asleep hours ago! > > Cheers, Jamie Makes good sense, =) Thanks, Kyle Evans
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACNAnaE3xOSr709rO5c164rvJurr_DX4rg1crR2ofH-Kxz9K1Q>