From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.CeBiTec.Uni-Bielefeld.DE (smtp.CeBiTec.Uni-Bielefeld.DE [129.70.160.84]) by sourceware.org (Postfix) with ESMTPS id 9054F385AE44 for ; Fri, 24 Jun 2022 07:50:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9054F385AE44 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=CeBiTec.Uni-Bielefeld.DE Authentication-Results: sourceware.org; spf=none smtp.mailfrom=cebitec.uni-bielefeld.de Received: from localhost (localhost [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 72813BD0B0; Fri, 24 Jun 2022 09:50:04 +0200 (CEST) X-Virus-Scanned: amavisd-new at CeBiTec.Uni-Bielefeld.DE Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (smtp.cebitec.uni-bielefeld.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ef1bUaD-HDON; Fri, 24 Jun 2022 09:50:03 +0200 (CEST) Received: from manam.CeBiTec.Uni-Bielefeld.DE (p508554ce.dip0.t-ipconnect.de [80.133.84.206]) (Authenticated sender: ro) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPSA id C74E6BD218; Fri, 24 Jun 2022 09:50:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=CeBiTec.Uni-Bielefeld.DE; s=20200306; t=1656057003; bh=VeOXrvIJyxbtaDgOxb6G6rq2q2M1oM/G5ZeQCvfOyV8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=X8ecp/bDRAcTzkOszXq2iiHCzUmISdTnAuUxJ3CgOxuJHXTgZbKz15G4V/1kY8C5F kSZSnj1xaTmIoOQjVGDnRRDIUjLbfYggic+cbk1PuKv8SwCQzMNQpeEU7FUz5FUtf8 l1BRPO1nhkOktb6rqoxFMFnh8vIR3nzRXsb3XYBfZUoYJSZAZW1UIPITEemDLtGgQ7 qtiTGn+1Ls5rwKG4YrVS1bQG2rT97bxIyOocLhaBYo5fQ34D0DdtjTvGjOubVmELDj LabxFfKqX8CVnJs00tshRLKjV7/eqh814uC3dwL7sICTwLXwLCME7Xs9JzM3vIscKk A5zFglumfbLkA== From: Rainer Orth To: Xi Ruoyao Cc: gcc-patches@gcc.gnu.org Subject: Re: [PATCH 0/8] Stop using obsoleted egrep/fgrep References: <74ea0c62ebe19db186263053e4051f81d46e9da4.camel@xry111.site> <549d34f4ae737f632eb477f98b3cc52bff461a70.camel@xry111.site> Date: Fri, 24 Jun 2022 09:50:03 +0200 In-Reply-To: <549d34f4ae737f632eb477f98b3cc52bff461a70.camel@xry111.site> (Xi Ruoyao's message of "Fri, 24 Jun 2022 15:27:57 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-3788.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, KAM_SHORT, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jun 2022 07:50:08 -0000 Hi Xi, > On Fri, 2022-06-24 at 09:24 +0200, Rainer Orth wrote: > >> please remember that there's a world outside of GNU grep: e.g. Solaris >> /bin/grep doesn't support grep -E (while /usr/xpg4/bin/grep does), so >> unconditionally replacing egrep with grep -E in several places is >> likely >> to break at least the Solaris build. >>=20 >> Please see the autoconf manual for details.=C2=A0 I suspect you'll have = to >> rework the patch set to use AC_PROG_EGREP and $EGREP instead. > > Thanks for the advice. I'll rework on it. > > Is there some way to access a Solaris and do some test? Sure: there's a Solaris 11.3/SPARC system (gcc211)in the GCC compile farm (https://gcc.gnu.org/wiki/CompileFarm). Unfortunately, there's neither Solaris 11.4 or Solaris/x86 at the moment, but those don't differ in this regard. Rainer --=20 ---------------------------------------------------------------------------= -- Rainer Orth, Center for Biotechnology, Bielefeld University