From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.75]) by sourceware.org (Postfix) with ESMTPS id 2E775385780A for ; Fri, 28 Oct 2022 08:13:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2E775385780A 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 (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MS4WT-1ocb433KDD-00TRBX for ; Fri, 28 Oct 2022 10:13:40 +0200 Received: by calimero.vinschen.de (Postfix, from userid 500) id 4734DA8086D; Fri, 28 Oct 2022 10:13:40 +0200 (CEST) Date: Fri, 28 Oct 2022 10:13:40 +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:fA+Hd+YEwcT8lfOs2aYli0VYrD7MpH69Mg83rcYfrBzbzJjTWww JxvaWiz8lYahpEr9chXVnhifFtQPaxqMNJsS7Op9SrV+HJiKLXjaTPVlgAsvajyf4s3LWvg itqZLQHeL0h5WWjIxdP97jhxTFedCJi58EuAG4ACzNGOQS0o3ZlQgYOILWG/jx5f4mzymv2 valGdZR4v8fXUWClEOIgw== X-UI-Out-Filterresults: notjunk:1;V03:K0:yEpUptc8yDQ=:VYE9Nu+0n0nMxVZbuPQHN5 scbNe0pCLtJXWKEIsXUFqkHu2qXDyjQA4J5QbEIAFaDTWj3lhd6oNIB9RfFLpR6KwyhA1oeHr tnDVe0qveocz11RpuoNQeLgGd0jQTWY/4Do8zKNuOoZoBCGCtkv6Nn0FPv8hqfXoGfTvPqr9y RXGl40uaEBpAmW7k7rInRRDs7vF82hHTqMerNh/e76VgzEiGy3mYr6aJaocud8Q4w9D1M+1F9 pTmc/GjfkMvEJb9Ae74gpzDOkP8kbq3TtqWgXhzGV6vP3p4TlnHd/HEbOmCHm7y8VKlVRg7NE jjNTAx0Mi5YPWBUW1esLOGALAqLFcvBIsEm7gRcoCJK0nDer6GdNXqbw3jn/W5IR1pYa/T1h7 QlIikF3pvDN97vL3ohL3nrSY9ppthvVF0VCY9Xm93L91ilH90anQQf7Dds9eP9VnCO+gjEmiH awJ/5j0CNzQ3QqoGTE5xhQ6VTE6n4XmP/1BYdbZlWjJ7FNTejh2Z69RkpmRjz/le9Y0ZKcEfR 4w5mcDJMqeX175DAlDBgET5+fUA8yJZyon+MVpXQqP0FmyVue4eIujsFwu3OMZMT9hFj/IZH1 IWlt8Vaa7C7QREO8w37vzWAAUD2OTjtqjeLXCEUS/stL9x+qImybi/1QIXiETbH9vxD5jFQzQ xQbIWellYjtDX41bsJN2FBZSk3mm+jVytZcqhg2PWyHFg2E+4iGl/uyQqEDfsMuZTuIErEsOV vvEDs/6X6G+zAdLFVPUVxCe3v5pgvCJJBabP8/wHge4Mgb7X7Qd4L9wtUWjnIEJN0H+xHrbgu 0/LtTxBf5jZMud6U0tUYmbphTrC3A== 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 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. Corinna