]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: use grep -E instead of egrep in scripts
authorXi Ruoyao <xry111@xry111.site>
Fri, 24 Jun 2022 07:02:23 +0000 (15:02 +0800)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 18 Mar 2024 13:50:54 +0000 (13:50 +0000)
commitc6f80dca4e51eaab3f12884e19b3dbbfe9cdffd7
tree881fd70a9313e62997296b5790b40963e7544b7d
parent5c156f5be49007a5434452335f29844eb17868a6
libstdc++: use grep -E instead of egrep in scripts

egrep has been deprecated in favor of grep -E for a long time, and the
next grep release (3.8 or 4.0) will print a warning of egrep is used.
Stop using egrep so we won't see the warning.

grep's from GNU, BSD (including Mac OS X), AIX, BusyBox all support -E
and -F.  Solaris grep doesn't support -E, but extract_symvers.in already
contains a special case for Solaris and doxygen documentation generation
is already broken on non-GNU.

libstdc++-v3/ChangeLog:

* scripts/extract_symvers.in: Use grep -E instead of egrep.
* scripts/run_doxygen: Likewise.

(cherry picked from commit fa4e97907fc979f550c3f02cde03d9c35f99df9b)
libstdc++-v3/scripts/extract_symvers.in
libstdc++-v3/scripts/run_doxygen