]> Cypherpunks repositories - gostls13.git/commit
all: use grep -E/-F instead of fgrep/egrep
authorkxxt <rsworktech@gmail.com>
Sat, 1 Oct 2022 00:19:12 +0000 (00:19 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 6 Oct 2022 21:22:22 +0000 (21:22 +0000)
commit2837ffe8d8a48cb321842721a8531ed870ace1d3
treec7d1e45aebf915d4a9ab8c2cfc12ecc542762b69
parent515e3de2999b23da28e6d15ac485bfdd299ec83a
all: use grep -E/-F instead of fgrep/egrep

egrep and fgrep are obsolescent now.

This PR updates all egrep and fgrep commands to grep -E and grep -F.
Running egrep/fgrep command with grep v3.8 will output the following warning to stderr:
egrep: warning: egrep is obsolescent; using grep -E

see also:
https://www.phoronix.com/news/GNU-Grep-3.8-Stop-egrep-fgrep
https://lists.gnu.org/archive/html/info-gnu/2022-09/msg00001.html

Change-Id: Iea1ca9ae72264530c67727b5e27cf1b7a362dd97
GitHub-Last-Rev: 3584884bd48cca97271ab86010fce8e4e063c0e4
GitHub-Pull-Request: golang/go#55299
Reviewed-on: https://go-review.googlesource.com/c/go/+/432256
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
src/buildall.bash
src/syscall/mkerrors.sh