]> gcc.gnu.org Git - 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)
committerXi Ruoyao <xry111@xry111.site>
Fri, 24 Jun 2022 12:31:31 +0000 (20:31 +0800)
commitfa4e97907fc979f550c3f02cde03d9c35f99df9b
treecd54f8f5721c81ab22d3f7b79c44e1d48db80e71
parent7fd34782b95bbe1b4dc9936b8923f86d4aaee379
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.
libstdc++-v3/scripts/extract_symvers.in
libstdc++-v3/scripts/run_doxygen
This page took 0.061281 seconds and 6 git commands to generate.