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

replace deprecated egrep with grep -e to suppress warning #8

Closed
wants to merge 1 commit into from

Conversation

coleyoungsh
Copy link

egrep is deprecated

vv
@@ -540,7 +540,7 @@ inittermkey() {

# To be valid, we must enable terminal application mode key sequences.
if tput smkx; then
for k in $(infocmp -L1 | egrep 'key_|cursor_'); do
for k in $(infocmp -L1 | grep -e 'key_|cursor_'); do
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, but 'grep -e' is not equivalent to 'egrep'. POSIX wants everyone to type grep -E, I believe.

@hackerb9
Copy link
Owner

Thank you for the report. I believe I have fixed it in the latest version.

@hackerb9 hackerb9 closed this May 10, 2024
@coleyoungsh
Copy link
Author

coleyoungsh commented May 10, 2024 via email

@hackerb9
Copy link
Owner

No need to update. I've fixed it. Thanks again for the report.

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