From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from xry111.site (xry111.site [89.208.246.23]) by sourceware.org (Postfix) with ESMTPS id 0F6BB3858D33; Thu, 11 May 2023 09:02:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0F6BB3858D33 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=xry111.site Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=xry111.site DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xry111.site; s=default; t=1683795736; bh=WmLRBSAH+dBrKJyj0r8yB/tnQu4ckzQv049tTSMryCQ=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=QVYzuaIhWr9RW9M0ANoEkHOercBJuVfe1e4v5xZT1/RWki4VQzaQ7OXoHjorURq5E F3U11hRut/dUjCsL8gKPGxZNfzTVyKkxG91LHTCVamX+IgWIQFyXhu+F57xV7R59yY F8M0rfTIQXE1kK8NKac4E6WtYN2UXA4u8m0mYdcs= Received: from [IPv6:240e:456:1030:6c6:bb92:c83c:ca28:8a57] (unknown [IPv6:240e:456:1030:6c6:bb92:c83c:ca28:8a57]) (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 8612D65C45; Thu, 11 May 2023 05:02:04 -0400 (EDT) Message-ID: <260bf886c99069097e2810993401cb943c0a4586.camel@xry111.site> Subject: Pushed: [PATCH v2 4/7] fortran: use grep instead of fgrep From: Xi Ruoyao To: Thomas Koenig , Bernhard Reutner-Fischer Cc: gcc-patches@gcc.gnu.org, Rainer Orth , Arnaud Charlet , Jonathan Wakely , fortran@gcc.gnu.org Date: Thu, 11 May 2023 17:01:59 +0800 In-Reply-To: <48620eb1-699b-5d34-2c72-356f8f059b04@netcologne.de> References: <1e2be9a04a91bd061892353b578261666a1c9b75.camel@xry111.site> <20230510212925.23e2837b@nbbrfq> <48620eb1-699b-5d34-2c72-356f8f059b04@netcologne.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.1 MIME-Version: 1.0 X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,LIKELY_SPAM_FROM,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 List-Id: On Wed, 2023-05-10 at 22:02 +0200, Thomas Koenig wrote: > On 10.05.23 21:29, Bernhard Reutner-Fischer via Fortran wrote: > > On Mon, 27 Jun 2022 14:10:36 +0800 > > Xi Ruoyao wrote: > >=20 > > > fgrep has been deprecated in favor of grep -F for a long time, and th= e > > > next grep release (3.8 or 4.0) will print a warning of fgrep is used. > > > Stop using fgrep so we won't see the warning. > > >=20 > > > We can't hard code grep -F here or it may break build on hosts w/o GN= U > > > grep.=C2=A0 autoconf documentation contains a warning about this issu= e and > > > suggest to use AC_PROG_FGREP and $FGREP, but these are too overkill i= n > > > the specific case: there is no way "debian" could be interpreted as a= n > > > non-trivial regex, so we can use a plain grep here. > >=20 > > LGTM but i cannot approve it. I'd say this one is trivial and obvious > > so you could sneak it in under the "obvious" rule.. >=20 > I concur, this could also have been obvious. >=20 > Anyway, OK for trunk, and >=20 > > Thanks for the patch! Pushed r14-698, with a commit msg change for the status of grep release. --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University