diff options
| author | kxxt <rsworktech@gmail.com> | 2022-10-01 00:19:12 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-10-06 21:22:22 +0000 |
| commit | 2837ffe8d8a48cb321842721a8531ed870ace1d3 (patch) | |
| tree | c7d1e45aebf915d4a9ab8c2cfc12ecc542762b69 /src/os/exec/exec.go | |
| parent | 515e3de2999b23da28e6d15ac485bfdd299ec83a (diff) | |
| download | go-2837ffe8d8a48cb321842721a8531ed870ace1d3.tar.xz | |
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>
Diffstat (limited to 'src/os/exec/exec.go')
0 files changed, 0 insertions, 0 deletions
