]> Cypherpunks repositories - gostls13.git/commitdiff
src/buildall.bash: use grep -E instead of egrep
authorgucio321 <gucio321@protonmail.com>
Tue, 23 Apr 2024 09:55:15 +0000 (09:55 +0000)
committerGopher Robot <gobot@golang.org>
Tue, 23 Apr 2024 17:45:23 +0000 (17:45 +0000)
according to https://www.phoronix.com/news/GNU-Grep-3.8-Stop-egrep-fgrep egrep and fgrep should not be used anymore. thats why using buildall.bash throws the following warning: egrep: warning: egrep is obsolescent; using grep -E

Change-Id: I2f3be55ebaa7826a7f89a93d756e083b9bddfb03
GitHub-Last-Rev: 60be0651afd68671dce2e701f9b8bfe1c16a3da8
GitHub-Pull-Request: golang/go#66990
Reviewed-on: https://go-review.googlesource.com/c/go/+/581055
Reviewed-by: Joedian Reid <joedian@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>

src/buildall.bash

index 3b8f6ee6f50ca8e86c91be0e32e35e7ba53b3f55..70fb3a8a61cdb081d27e043ed3ffcb18512ea387 100755 (executable)
@@ -41,7 +41,7 @@ GOROOT="$(cd .. && pwd)"
 
 gettargets() {
        ../bin/go tool dist list | sed -e 's|/|-|' |
-               egrep -v '^(android|ios)' # need C toolchain even for cross-compiling
+               grep -E -v '^(android|ios)' # need C toolchain even for cross-compiling
        echo linux-arm-arm5
 }