From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from xry111.site (xry111.site [IPv6:2001:470:683e::1]) by sourceware.org (Postfix) with ESMTPS id E7BC2385AE6D; Fri, 24 Jun 2022 11:08:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E7BC2385AE6D Received: from localhost.localdomain (xry111.site [IPv6:2001:470:683e::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id 0FB2C669BE; Fri, 24 Jun 2022 07:08:19 -0400 (EDT) Message-ID: Subject: Re: [PATCH 3/8] libstdc++: use grep -E instead of egrep in scripts From: Xi Ruoyao To: Jonathan Wakely Cc: gcc-patches , libstdc++ , Rainer Orth Date: Fri, 24 Jun 2022 19:08:18 +0800 In-Reply-To: References: <74ea0c62ebe19db186263053e4051f81d46e9da4.camel@xry111.site> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.2 MIME-Version: 1.0 X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FROM_SUSPICIOUS_NTLD, LIKELY_SPAM_FROM, PDS_OTHER_BAD_TLD, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libstdc++@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++ mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jun 2022 11:08:25 -0000 On Fri, 2022-06-24 at 11:00 +0100, Jonathan Wakely wrote: > On Fri, 24 Jun 2022 at 08:03, Xi Ruoyao via Libstdc++ > wrote: > >=20 > > 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. > >=20 > > libstdc++-v3/ChangeLog: > >=20 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 * scripts/extract_symvers.in= : Use grep -E instead of egrep. > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 * libstdc++-v3/scripts/run_d= oxygen: Likewise. >=20 > This should be just scripts/run_doxygen here. You can use the git > gcc-verify alias to check your changelog format. >=20 >=20 > With that fixed it's OK for trunk and gcc-12 and gcc-11 branches, > thanks! I'll need some rework as Rainer told me "grep -E" may not work on some Solaris systems w/o GNU grep, and the code snippet in extract_symvers.in is exactly for Solaris... --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University