aboutsummaryrefslogtreecommitdiff
path: root/src/buildall.bash
diff options
context:
space:
mode:
authorkxxt <rsworktech@gmail.com>2022-10-01 00:19:12 +0000
committerGopher Robot <gobot@golang.org>2022-10-06 21:22:22 +0000
commit2837ffe8d8a48cb321842721a8531ed870ace1d3 (patch)
treec7d1e45aebf915d4a9ab8c2cfc12ecc542762b69 /src/buildall.bash
parent515e3de2999b23da28e6d15ac485bfdd299ec83a (diff)
downloadgo-2837ffe8d8a48cb321842721a8531ed870ace1d3.tar.gz
go-2837ffe8d8a48cb321842721a8531ed870ace1d3.zip
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/buildall.bash')
-rwxr-xr-xsrc/buildall.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildall.bash b/src/buildall.bash
index 7b3751f42e..e4e3ec37ec 100755
--- a/src/buildall.bash
+++ b/src/buildall.bash
@@ -41,7 +41,7 @@ gettargets() {
}
selectedtargets() {
- gettargets | egrep "$pattern"
+ gettargets | grep -E "$pattern"
}
# put linux first in the target list to get all the architectures up front.