From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.73]) by sourceware.org (Postfix) with ESMTPS id 85D5D3851521 for ; Fri, 28 Oct 2022 13:36:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 85D5D3851521 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=towo.net Authentication-Results: sourceware.org; spf=none smtp.mailfrom=towo.net Received: from [192.168.178.51] ([91.65.247.133]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1M4rD7-1oogmW1aER-0021oj for ; Fri, 28 Oct 2022 15:36:31 +0200 Message-ID: Date: Fri, 28 Oct 2022 15:36:30 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: [ANNOUNCEMENT] Test: grep 3.8 - promotion to current stable To: cygwin-apps@cygwin.com References: From: Thomas Wolff In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:3ph4ZGGOYOm9XExu2hRF7cM8fmMKxqgUkdUKvzDYl2h+kNGZj4S KYaFDJAvaEYjozseirABd64EHQbUnlHw/hIpwTD0VkY575eN3vs3jpqDJ9Y/Ux5Yf7aYYP/ zBoywLyVttrJ8GA/jQHsM4YyWyc0YX4QYK0GiZLnwrhkaG0Bg89vP64E7BuzSmRBxd+/EPB 7Hd06vB8fgENordWL0zdg== X-UI-Out-Filterresults: notjunk:1;V03:K0:M2HgSyOEARk=:iNXIpl5AqlgGf4OnZ+SDms 3izww0tLciP7U5XdPyN+EY4K7ZqkJXC5WrDJdWzXb+qK7cXHCTFY2dK/zkGbd3K+dqFtmMb5a o+tBmqdZXSp1lKV/Q9o0LV/IoJBsdzMaPYg4IPjASbYZ60PRGTercTH3wGC8sFZDyXgTYA9uz WW9y6CfNfXH2Br3HJ83J2cSVlKMFV17jCiwVXn6/LMye54cs8Lti4/oELyoWR3/zvhLsuaS2B iu9AzRhF0/QccMiOtDsQw32+x61dt3FLpjMY57rcFtfeS+q6JRh7nBUynyn7ZGaqRATCPQUUi C9D9nWCrlCH/dGHG/HMSmb+srfoE7U4ro60oNVmpJvSgaWkeCnxxHYLvxSlRhRHlqXgw3uLBb MAv5pcASMBGNpwcMBw/fwVWbNg8BUy89u2CiRtzBSbNdUn1PrfQWWGuw3V5pEV15/P1lxes5x djrQrrMbR17TJT7b0aksm1bsU28mWKH4Q01PNYYdh5VdaCWxE46zU0bbCtn1Fl9NljN5338py yS+qGFmZBwNl+PWNXEuyRwzFbvU5rnAsICiHjHsPTOmWs9zNAYQxiH46MOdtcrslNOC62IMCO ookFM1F9txmZcxVuNQ7vgWoOo2EXRNXfwZduW+rzBH7KRlEbidI24pIywDEVOIkaLY7eBq/cQ tctvzUwUHC3WDR469bI+gdNe/wrjutq/OXd/Ct34QKXenm5UInJ2LvermxZ/uYXCqx2SSRaIv 4EL6ncMCjaLmiqcwYFCLChyWcxKwHDkXR0rMb23f+kt+CD1liWFvI8pMIJ2ceoOVXqCSxHDnz FW8HohT X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,KAM_LAZY_DOMAIN_SECURITY,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,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: Am 28/10/2022 um 10:20 schrieb Corinna Vinschen: > 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. I agree so much. People should submit complaint issues upstream, the more the better. It's only not so easy to find a way to submit a Gnu tool bug :(