diff options
| author | Sam James <sam@gentoo.org> | 2022-06-05 12:09:02 -0700 |
|---|---|---|
| committer | Fangrui Song <maskray@google.com> | 2022-06-05 12:09:02 -0700 |
| commit | 7df596a58cdfa763924487b8c275269de3497304 (patch) | |
| tree | 7b2762ba7b12c0ed07d63cd14109305af04f4cf8 /scripts/check-c++-types.sh | |
| parent | 3c23fa9f44fe88d0851e1344fc37ba60e74cb0fc (diff) | |
| download | glibc-7df596a58cdfa763924487b8c275269de3497304.tar.xz glibc-7df596a58cdfa763924487b8c275269de3497304.zip | |
grep: egrep -> grep -E, fgrep -> grep -F
Newer versions of GNU grep (after grep 3.7, not inclusive) will warn on
'egrep' and 'fgrep' invocations.
Convert usages within the tree to their expanded non-aliased counterparts
to avoid irritating warnings during ./configure and the test suite.
Signed-off-by: Sam James <sam@gentoo.org>
Reviewed-by: Fangrui Song <maskray@google.com>
Diffstat (limited to 'scripts/check-c++-types.sh')
| -rwxr-xr-x | scripts/check-c++-types.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/check-c++-types.sh b/scripts/check-c++-types.sh index b80d141f1a..852973daca 100755 --- a/scripts/check-c++-types.sh +++ b/scripts/check-c++-types.sh @@ -32,9 +32,9 @@ # #include <sys/stat.h> # EOF # gcc -D_GNU_SOURCE -E - | -# egrep '^typedef.*;$' | +# grep -E '^typedef.*;$' | # sed 's/^typedef[[:space:]]*//;s/\([[:space:]]\{1,\}__attribute__.*\);/;/;s/.*[[:space:]]\([*]\|\)\(.*\);/\2/' | -# egrep -v '^_' | +# grep -E -v '^_' | # LC_ALL=C sort -u # data=$1 |
