From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) by sourceware.org (Postfix) with ESMTPS id DF05A385829C for ; Fri, 4 Nov 2022 19:07:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DF05A385829C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=systematicsw.ab.ca Received: from shw-obgw-4004a.ext.cloudfilter.net ([10.228.9.227]) by cmsmtp with ESMTP id qy5KoZUDVS8Wrr225o66eT; Fri, 04 Nov 2022 19:07:13 +0000 Received: from [10.0.0.5] ([184.64.124.72]) by cmsmtp with ESMTP id r223o3Q8plz8pr223ounUL; Fri, 04 Nov 2022 19:07:13 +0000 X-Authority-Analysis: v=2.4 cv=VvEwvs6n c=1 sm=1 tr=0 ts=636562e1 a=oHm12aVswOWz6TMtn9zYKg==:117 a=oHm12aVswOWz6TMtn9zYKg==:17 a=IkcTkHD0fZMA:10 a=DhEV57V7f03_JBbhf_0A:9 a=QEXdDO2ut3YA:10 Message-ID: Date: Fri, 4 Nov 2022 13:07:11 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 To: cygwin-apps@cygwin.com Subject: Re: [ANNOUNCEMENT] Test: grep 3.8 - promotion to current stable Reply-To: cygwin-apps@cygwin.com Content-Language: en-CA In-Reply-To: <87fsezx534.fsf@Rainer.invalid> From: Brian Inglis Organization: Systematic Software Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfHF2PJYNfQv+f5L1uRhRFR8OlDjBleQLVyJdG9gTDXyygvVDaiDiid2SGdIuMxX3mSiyn66R/Mj/YypHIAUlOYjx/x8w79aJ6pEKtiFkR+G3lbtMj17R VpXKgNxGCGZTJX41vz1DwvsP2Bjhv+ljKMvMBxqUihBUPjQ9ba72puykznbnQAzq++jMdB9PmVH9PaXWVcKndAXFoV3iw3H1zrw= X-Spam-Status: No, score=-1163.7 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,TXREP 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 Thu, 03 Nov 2022 19:31:27 +0100, Achim Gratz wrote: > Brian Inglis writes: >> Suggest that I could come up with a package grep-nowarn which can only >> suppress the [ef]grep warnings, where the package would install >> [ef]grep-nowarn, and the postinstall script could rename the >> distributed shell scripts to [ef]grep-warn, and install alternatives >> with -warn priority 10, -nowarn priority 20; preremove would reverse >> the process. >> >> Suggestions to accommodate -nowarn from grep package postinstall? >> I could supply the same postinstall and preremove as -nowarn to check >> for -nowarn and install or uninstall the alternative. >> >> Sequence or timing issues to watch out for during postinstall/preremove? > As Corinna already said, why GNU suddenly cares so much about strict > POSIX conformance in this case is puzzling. If anything they should > have left the decision to packagers and IMNHO the warning should only be > presented when POSIXLY_CORRECT is set in the environment, if at all. > The patch to the wrapper script(s) in question is trivial and several > Linux distributions have removed the warning already (if you do this, > also change the interpreter from bash to dash). Just skip any > extra packages and do the same. The issue does not appear to be about POSIX compliance, but that [ef]grep were dropped from POSIX before 2008 and declared obsolescent, so the maintainers appear to be looking to drop those commands/scripts. You could perhaps reach out to Eric Blake or Jim Meyering who are in the GNU grep contributor lists for rationale. While Debian and OpenSuSE have reverted that change, Fedora has not in main or rawhide. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry