commit | 84dc82d7e8757e9f77fbe9586bd2670e805777d9 | [log] [tgz] |
---|---|---|
author | kxxt <rsworktech@gmail.com> | Sat Oct 01 00:15:39 2022 +0000 |
committer | Gopher Robot <gobot@golang.org> | Thu Oct 06 21:19:17 2022 +0000 |
tree | c3ff4b76777661359c9a35ecf5d13f74e8a73e7f | |
parent | f11e5e49a4ec85883999349b0dc6373df034397b [diff] |
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: I0c6b6a039063d6aee94e8500971001996d4e498c GitHub-Last-Rev: 1eee6147666503d274b244a65daa58cded466704 GitHub-Pull-Request: golang/sys#137 Reviewed-on: https://go-review.googlesource.com/c/sys/+/432835 Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Carlos Amedee <carlos@golang.org> Auto-Submit: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
This repository holds supplemental Go packages for low-level interactions with the operating system.
The easiest way to install is to run go get -u golang.org/x/sys
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/sys
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the sys repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/sys:” in the subject line, so it is easy to find.