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

tools: Use grep -F instead of fgrep #6509

Merged
merged 1 commit into from Aug 24, 2023
Merged

Conversation

jwakely
Copy link
Member

@jwakely jwakely commented Aug 24, 2023

POSIX only defines grep, not fgrep and egrep (the latter two were already marked as LEGACY in SUSv2 in 1997, and are not present in POSIX-2001 or any later POSIX standards). Recent versions of GNU grep warn when fgrep and egrep are used: https://lists.gnu.org/archive/html/info-gnu/2022-09/msg00001.html

POSIX only defines grep, not fgrep and egrep (the latter two were
already marked as LEGACY in SUSv2 in 1997, and are not present in
POSIX-2001 or any later POSIX standards). Recent versions of GNU grep
warn when fgrep and egrep are used.
@jensmaurer jensmaurer merged commit 3d62863 into cplusplus:main Aug 24, 2023
2 checks passed
@jwakely jwakely deleted the fgrep branch August 26, 2023 11:01
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.

None yet

2 participants