Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change: Replace egrep usage with grep -E #38

Merged
merged 2 commits into from
Aug 26, 2023
Merged

Change: Replace egrep usage with grep -E #38

merged 2 commits into from
Aug 26, 2023

Conversation

jameschensmith
Copy link

Summary

Replaces deprecated usage of egrep with grep -E. Resolves the warning egrep: warning: egrep is obsolescent; using grep -E.

What happened to egrep and fgrep?

7th Edition Unix had commands egrep and fgrep that were the counterparts of the modern ‘grep -E’ and ‘grep -F’. Although breaking up grep into three programs was perhaps useful on the small computers of the 1970s, egrep and fgrep were deemed obsolescent by POSIX in 1992, removed from POSIX in 2001, deprecated by GNU Grep 2.5.3 in 2007, and changed to issue obsolescence warnings by GNU Grep 3.8 in 2022; eventually, they are planned to be removed entirely.

Usage - GNU Grep (section "What happened to egrep and fgrep?")

@alphapapa
Copy link
Owner

Thanks. I'll plan to merge this when I work on this project again.

@alphapapa alphapapa self-assigned this Apr 12, 2023
@alphapapa alphapapa added this to the 0.6 milestone Apr 12, 2023
@alphapapa alphapapa merged commit 2ce3d4b into alphapapa:master Aug 26, 2023
@jameschensmith jameschensmith deleted the change/egrep-to-grep branch August 27, 2023 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants