[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] tests/array.tests: using grep -E instead of egrep
From: |
Robert Elz |
Subject: |
Re: [PATCH] tests/array.tests: using grep -E instead of egrep |
Date: |
Mon, 19 Feb 2024 18:49:36 +0700 |
Date: Mon, 19 Feb 2024 18:33:31 +0900
From: Koichi Murase <myoga.murase@gmail.com>
Message-ID:
<CAFLRLk-ZRvddvctnekwBjHL01B6qHWtrF3fwharK_yrZBpOKfA@mail.gmail.com>
| GNU grep started to output error messages in v3.8 (2022-09) for egrep,
| so the test failure will be happening in most GNU/Linux distributions
| soon.
That (as in, gnu grep) should be fixed. There's no reason not
to use grep -E on systems that have it, and similarly no reason
not to use egrep (or fgrep) on systems that have it (or them).
egrep is 2 chars less to type than grep -E, and does not involve
use of the shift key. It is also traditional. Issuing warnings
for using it is insane.
kre