NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How to build /usr/bin/grep?



On Thu, 17 Aug 2023, Christian Kujau wrote:

So, I guess my questions are:

* Why is /usr/src/usr.bin/grep/grep different from /usr/bin/grep?


/usr/src/usr.bin/grep/grep: is the FreeBSD grep (only built if MKBSDGREP=yes)
/usr/bin/grep: is actually the GNU grep (bec. MKBSDGREP=no; see mk.conf(5))

* Why is /usr/bin/grep behaving differently than /rescue/grep?


/usr/bin/grep is the GNU grep
/rescue/grep is the FreeBSD grep

* Why aren't we just using the FreeBSD grep version 2.6? :-)


Good question. Probably incompatibilities and/or bugs. Other people
have reported both. I've noticed a few myself.

-RVP


Home | Main Index | Thread Index | Old Index