From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.24]) by sourceware.org (Postfix) with ESMTPS id 755C2385841B for ; Fri, 4 Nov 2022 12:48:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 755C2385841B Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=cygwin.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=cygwin.com Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MLA6m-1oZxEB2AoE-00IGxT for ; Fri, 04 Nov 2022 13:48:01 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id 7F623A80C18; Fri, 4 Nov 2022 13:47:58 +0100 (CET) Date: Fri, 4 Nov 2022 13:47:58 +0100 From: Corinna Vinschen To: cygwin-apps@cygwin.com Subject: Re: [ANNOUNCEMENT] Test: grep 3.8 - promotion to current stable Message-ID: Reply-To: cygwin-apps@cygwin.com Mail-Followup-To: cygwin-apps@cygwin.com References: <03856d73-dc89-e211-7563-e0a71d452ccc@SystematicSw.ab.ca> <87fsezx534.fsf@Rainer.invalid> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87fsezx534.fsf@Rainer.invalid> X-Provags-ID: V03:K1:3nI3OwSQ3XSOFwUE9kvBHdTSXdjBxB7mccDEkyOa0mARYCTK5iW DJpTJoxSHgkAc3y3bge7DlwXntDQgnbjqtg3SwjVpSic4Znxn/mZa9q1yFCztcnObCOvqx/ b8GrKpFI7F7LrdcTqUNDx0ZHj9ulAauTDwoVAo7xpvR+2f5EDPJs/cX9L0zdxZa/jsOdiCk VrR4WGWOXN05DxYfeTb8w== X-UI-Out-Filterresults: notjunk:1;V03:K0:PFWc52wWrxw=:43/mPEF6uwdVMtkaFznP6s POlBvK318DULSqOFeNDCBDrRxPGw6Q/kXWZBnYxu9HKBc7wh5UgZXZtRwG7OExKyvaBSUXQKm Mvk5d+tU/KIsc+iYTTl/KJADiR5HB8J7I5g89aHRKgLNnjZ0XAGNG6tsTcWcolEJ01xzv96QS RdHdnKIxZ6PDQ1JOnXahpMnVeFpMj443L4x475jPpthfXeMLn9Idur/5AXyfiF1KbZ/XOA56f BEjMnhOaQlU441A95VYwo3OurBlK4S2vBYmWatOcowqTVln7B3I45p7O4gHNtio5tospB3Imb NOa67iGbNZ5/gHQwINBIglUlL7f+VJSgKdhTEwerX9ZS9BOw7RQYpxn6wqQmb44C+IGOh3kxQ thPkQTiBopJ57yM+YFm+9bB3xBtgjpnMJysGSqgHT+P1ESnrsaXCoBY5PoSXcU8lWbkhKQ2Op 5XK4a1WoRb6FWzXU0g3nB5Uws2F4aNwWPJH0GRkqs46siBVKj71i2T6SYJNYmToFE1vZ6q6Sm skkLDoZiWCZW1OsSq3PilaewD4L7zNR7LpV9KTqh45pKFeKlZ3h9pJmCp1JdeX9EhtaALJZjq Jio/X7atuMlkjJHh0PGlWB/dhUD+7yEO+XajOQ4q1gGSjPGrIK6VHXup31i6Q+xx5X0NIoLEA kJxOAXu3IfAmjAV6O3A6iLEzes33MDV+/BEnYYM9aIn4qTWb/UbkzmgcokfkR+aLFM6JS0kOI h/geaYaVlwfR0LAK6efT5ki0AfyInF0vB1M38aPSUtZ47TaAbGUizzNEC6ulf2pY2ft1taR7M NHci0BSI+KkC05zOMbDVy5LMyzFMg== X-Spam-Status: No, score=-95.8 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_DMARC_NONE,KAM_DMARC_STATUS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_FAIL,SPF_HELO_NONE,TXREP autolearn=ham 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 Nov 3 19:31, 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. +1 Corinna