From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.187]) by sourceware.org (Postfix) with ESMTPS id 8C8373857423 for ; Fri, 28 Oct 2022 08:20:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8C8373857423 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 (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MIdW9-1otZvw41kj-00EezY for ; Fri, 28 Oct 2022 10:20:58 +0200 Received: by calimero.vinschen.de (Postfix, from userid 500) id 3B173A8086D; Fri, 28 Oct 2022 10:20:57 +0200 (CEST) Date: Fri, 28 Oct 2022 10:20:57 +0200 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: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Provags-ID: V03:K1:wmTCYaMe2Pu1pec/HK0rPxCZ3vr70WJNGjKj/X9dLIsOBqQUGYS EYUDmz8P3wshN8iNXSS8HVBxzIaXwHVZCyGVaKAsLX++AN3EpFBhO9Mzrk8zhcAIGDUpgte YAQYNogppOvnCImLFNWSxZer8kobyWjD40YJTo4OrtvGo1GIhr0PJlAKYTbMrznnT6ajfkG nxMESUPCww0eXqgx3g9qw== X-UI-Out-Filterresults: notjunk:1;V03:K0:o7agzjq2xUU=:OSWOWmr50J8JEmxouJ+BAe hF3TLvDS+cKSLoZo2LQanNdTBbQK7G0op71MwefBrXVqr213HDhvLmfjoikhEGg+KlwiYyGZw 2c2vsWZnc0A1fQA6ib3nMKGm05otxCfeRLs/aa9iicEN/XlM6KPk2LGc5Ka48yKaE6W0mc7PW 41f07qyLiufKgwTs3oGXy7o8rArAdcGMdIMn9b1CeuaQYaDDLT949GS0VYj87pJlpkCzYcIww 4wm3LIyKLkCQ5AlJN9ApqkQ2dNgDIl8gTNzjD5DzCsW0/mvOt02yDRf9FfdnLVNTlmUP9RlAQ uDtG7gnOdr9rbnuCbRPkqqNnMZRUEYZuuA0cgtXqH948Co3mc1HLRjZjgUH4qmyQkGxJV/ExA bc+GxF3hXT5noWPnLD1Cd7AKPsuf1nmaIivisuR6RSXKcX6kV8/qEQ8Be/wZp6Ab/rzLGxYEw luSX5mEJumOFlbtv/nXr65QU2/ajMJp1t+dj63Gq+dh7sNJFFmSfRY4sO99CxqUXPvMGloGoh w0fSV2aXLUY82SLS3IBONxdmWz2G3YEb3+U6gg4zNJA8KP/ZVpABmtTrpWZMGZuK6s16Agmj/ GuIDyU7g4KqFNfxxmqYLduchS7A7/VlEryevOSNVNiTI8cv4x+Kvgo5eCYpCBlEmz0rHfHkTd OFKZeconcbR5gZB0xGBOKnvR3/psqDSaTt6rMhnuaZKR0QbLEyJ9dqbedhUzGy5ZLugl47lcr D3OWKuApVBEg1OTzUjtxaHRxl+7/mpx2dtuZrKsZyR8WaiPOVFvz5bZ/VZu/UzrENiP2TdZcb jwQB6qiRjwQ3SnmkMobLApLWaQhHg== X-Spam-Status: No, score=-95.6 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 Oct 28 10:13, Corinna Vinschen wrote: > On Oct 28 00:49, Brian Inglis wrote: > > On Thu, 27 Oct 2022 18:25:45 +0200, Corinna Vinschen wrote > > > On Sep 29 12:55, Brian Inglis wrote: > > > > > /usr/share/doc/grep/ChangeLog > > > > > https://git.sv.gnu.org/gitweb/?p=grep.git;a=log;h=refs/tags/v3.8 > > > > > > The change note below states that egrep and fgrep are deprecated > > > > > obsolescent commands, will be dropped in future, and from this release > > > > > until then, every use will show a stderr warning message, reminding you > > > > > how to change your commands and scripts: > > > > > > $ egrep ... > > > > > egrep: warning: egrep is obsolescent; using grep -E > > > > > ... > > > > > $ fgrep ... > > > > > fgrep: warning: fgrep is obsolescent; using grep -F > > > > > ... > > > > > Please do everyone a favor and remove those warnings. egrep and fgrep > > > are used abundantly in existing scripts and the user often has no choice > > > or no knowledge how to fix this. If this is an upstream change, it's a > > > bad one, breaking backward compatibility. Please fix this at least for > > > our distro. > > > > This was released as test at the start of September, reiterated at the end > > of September on this list, then promoted to current stable and announced > > early October: > > > > https://lists.gnu.org/archive/html/info-gnu/2022-09/msg00001.html > > I was AFK from mid-September until mid-October, so I only niticed this > on my return. > > > I received no feedback to these notices on the announce, cygwin and apps > > lists from users, maintainers, or developers. > > > > This release is in Fedora Rawhide unpatched and targeted for Fedora 38. > > > > Please note that these warnings are giving notice that egrep and fgrep have > > been deprecated as obsolescent for 15 years and will be dropped as commands > > as they have never been in POSIX, GREP_COLOR is obsolescent and treated like > > GREP_COLORS, unspecified or invalid regular expression warning diagnostics > > are now being issued on stderr as they will be treated as errors in future > > releases, "binary file matches" messages on stderr may no longer be > > suppressed, and invalid bracket expressions are now being treated as errors, > > with appropriate diagnostics and exit codes. > > I'm aware of that, but upstream is obviously missing the fact that > egrep and fgrep have been part of the history for so long that they > are part of the UNIX gene pool. As I said there are scripts out > there using egrep and fgrep. I, for one, can easily tweak the > scripts, but not every user will be able to do so, missing the > knowledge or admin privileges. > > There are also the old (and I mean old) users out there who have an > ingrained habit to use egrep and fgrep since it was *always* part > of UNIX. The warnings are really just a PITA. Oh, and the BSDs will very certainly keep egrep and fgrep forever, without the dreaded warnings... I don't even understand why they are so "bad" that they have to be removed. What a weird idea. Corinna