NetBSD-Users archive

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

Re: Bug in NetBSD grep ?



On arm64 / RPi 4 9.99.96  this gives "00:00:" as expected.

I know this is quite ancient  (April '22 version of -current).


On Tue, Aug 16, 2022 at 1:41 PM Marc Baudoin <babafou%babafou.eu.org@localhost> wrote:
Hi,

The following command-line:

echo 00:00: | grep -E '^([0]{2}[:-]){2}$'

doesn't print anything on NetBSD (9.3) but it prints 00:00: back
(as it should, unless I made a mistake in my regular _expression_):
- on NetBSD with GNU grep from pkgsrc
- on FreeBSD with their standard grep (which claims to be
  GNU-compatible)
- on Linux (with GNU grep)

Is there a problem with the grep command shipped with NetBSD?


Home | Main Index | Thread Index | Old Index