Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Deprecation of egrep



grep from which system? GNU? `egrep` would appear to be a GNU extension, mimicked by some other UNIXes like FreeBSD. "Releases of grep" as a thing separate from the OS is a concept foreign to me, other than GNU.

I am not from zsh-land (though I do use it as my login shell), so I doubt I've a say here, but I'd suggest this looks right. I looked at the SUSv2 grep manpage and this will perform as expected if one's grep complies with SUSv2. (For the count, that's a very old version of POSIX.)

On 10 September 2022 16:04:49 UTC, Vin Shelton <acs@xxxxxxxxxxxxxxxxxxxx> wrote:
Greetings!

The latest release of grep officially deprecates egrep in favor of "grep -E".  In the build process, we have handled this in our autoconf script, but egrep persists in our test scripts, causing failures.  Changing all occurrences of "egrep" to "grep -E" in our test scripts will fix this.  How do we want to handle this?

Regards,
  Vin Shelton
--
Ellenor Bjornsdottir (she)
sysadmin umbrellix.net


Messages sorted by: Reverse Date, Date, Thread, Author