From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mr5.vodafonemail.de (mr5.vodafonemail.de [145.253.228.165]) by sourceware.org (Postfix) with ESMTPS id 8237B3858CDB for ; Thu, 3 Nov 2022 18:31:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8237B3858CDB Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=nexgo.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nexgo.de Received: from smtp.vodafone.de (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr5.vodafonemail.de (Postfix) with ESMTPS id 4N3C5W0xqxz1yKY for ; Thu, 3 Nov 2022 18:31:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexgo.de; s=vfde-smtpout-mb-15sep; t=1667500303; bh=9f/9OOjMx5q1hg61O0mSrJ4i3VChqyr+gVVcLffoiAY=; h=From:To:Subject:References:Date:In-Reply-To:Message-ID:User-Agent: Content-Type:From; b=Ljlss3TQubtKu3FX05ezOhiO7XYxQAWk3U5te4J+WRX/45pbibnyJNG+nmmIdCGFm q99uOSnoWME4VyZ7ZlgtK/n4cdopXbhrnOpHgEt/5btZfWcAVKAGl/2RyHprvG36Tr Xs4kNE7Kx107hMySftZ9gwBqZriS06n9AGVQuSgk= Received: from Gertrud (p5b2f3ae5.dip0.t-ipconnect.de [91.47.58.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4N3C5V44k6zKm4s for ; Thu, 3 Nov 2022 18:31:39 +0000 (UTC) From: Achim Gratz To: cygwin-apps@cygwin.com Subject: Re: [ANNOUNCEMENT] Test: grep 3.8 - promotion to current stable References: <03856d73-dc89-e211-7563-e0a71d452ccc@SystematicSw.ab.ca> Date: Thu, 03 Nov 2022 19:31:27 +0100 In-Reply-To: <03856d73-dc89-e211-7563-e0a71d452ccc@SystematicSw.ab.ca> (Brian Inglis's message of "Thu, 3 Nov 2022 12:08:55 -0600") Message-ID: <87fsezx534.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-purgate-type: clean X-purgate: clean X-purgate-size: 1401 X-purgate-ID: 155817::1667500302-CAFFC4F8-C805EEE0/0/0 X-Spam-Status: No, score=-3031.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,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: 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. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds