Freddie Cash wrote:
> Huh, never even noticed (not that I use many of the grep variants). But,
> on a 10.3 install (from binaries, not source), half the variants are
> hard-links to bsdgrep, while the other half are hard-links to grep:
Yep, that's how it was for me.
>
On Wed, Mar 22, 2017 at 5:41 AM, Jamie Landeg-Jones
wrote:
> Kyle Evans wrote:
>
> > 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
On Wed, Mar 22, 2017 at 8:32 AM, George Mitchell wrote:
> It would not surprise me. Knowing, to begin with, that GNU grep does
> not support uncompressing its input, I would *never* expect bzgrep
> (etc.) to link to GNU grep.-- George
This
On 03/22/17 00:07, Kyle Evans wrote:
> [...]
> 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.
> [...]
It would not surprise me.
Kyle Evans wrote:
> 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
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,
>
Kyle Evans wrote:
> >
> > Am I really the first to notice, or am I missing something here?
>
> Yes, but only slightly. =) If you do `grep -V`, you should find that
> your system is actually using GNU grep. Please refer to:
>
On Tue, Mar 21, 2017 at 9:33 PM, Jamie Landeg-Jones
wrote:
> I've just noticed that the hard links for xzgrep / xzegrep / xzfgrep / lzgrep
> / lzgrep / lzfgrep
> are missing from my source-built FreeBSD 11 release.
Confirmed, but there's good reason -- see next section.
I've just noticed that the hard links for xzgrep / xzegrep / xzfgrep / lzgrep /
lzgrep / lzfgrep
are missing from my source-built FreeBSD 11 release.
I've tracked it down to a commit almost 2 years ago..
https://svnweb.freebsd.org/base/head/usr.bin/grep/Makefile?r1=277939=284345=315687
Am I