From 5b5f646079e8abe6d9b1f550aaf0e837b2f5ea13 Mon Sep 17 00:00:00 2001 From: Andrew Donnellan Date: Wed, 10 Dec 2025 13:43:04 +1100 Subject: all: replace egrep with grep -E The egrep command has been deprecated in GNU Grep since 2007, and nowadays using egrep rather than grep -E will print a warning to the user, which is very annoying. Replace all usages of egrep with grep -E. Signed-off-by: Andrew Donnellan --- sys/linux/init_alg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/linux/init_alg.go') diff --git a/sys/linux/init_alg.go b/sys/linux/init_alg.go index 66d2d9a91..beade4be5 100644 --- a/sys/linux/init_alg.go +++ b/sys/linux/init_alg.go @@ -124,7 +124,7 @@ var allTypes = []algType{ // Algorithms can be extracted with something along the following lines: // -// cat /proc/crypto | grep -B 8 ": skcipher" | grep -B 7 "internal : no" | egrep "name |driver " | \ +// cat /proc/crypto | grep -B 8 ": skcipher" | grep -B 7 "internal : no" | grep -E "name |driver " | \ // cut -b 16- | sort | uniq | awk '{printf("{\"%s\", nil},\n", $1)}' // // Note: the kernel needs to include all crypto configs and CPU needs to support AVX/NEON/etc. -- cgit mrf-deployment