Hi folks,
I stumbled across a bug in /usr/bin/grep and noticed that this had been
fixed upstream a long time ago[0], but before creating a PR I wanted to
understand if I'm missing something.
The bug is quite "simple": when using "--devices=skip", grep fails to
match on stdin, because stdin is
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)