From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.atof.net (smtp1.atof.net [52.86.233.228]) by sourceware.org (Postfix) with ESMTPS id 3DEC93857417 for ; Fri, 28 Oct 2022 12:40:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3DEC93857417 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=gluelogic.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gluelogic.com X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-Spam-Language: en X-Spam-Relay-Country: X-Spam-DCC: B=; R=smtp1.atof.net 1102; Body=1 Fuz1=1 Fuz2=1 X-Spam-RBL: X-Spam-PYZOR: Reported 0 times. Date: Fri, 28 Oct 2022 08:40:32 -0400 From: gs-cygwin.com@gluelogic.com To: cygwin-apps@cygwin.com Subject: Re: [ANNOUNCEMENT] Test: grep 3.8 - promotion to current stable Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 List-Id: On Fri, Oct 28, 2022 at 12:49:37AM -0600, 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: Planning for the future, could the grep package provide egrep and fgrep in /etc/alternatives? Then a new (optional) package, say "grepfe" could provide /etc/alternative shell scripts (or binaries) which called grep -F and grep -E. Cheers, Glenn