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

Check string equality more portably. #460

Merged

Conversation

schmonz
Copy link
Contributor

@schmonz schmonz commented Oct 14, 2024

== for string equality is non-POSIX. One = suffices.

@hollesse
Copy link
Member

Hi @schmonz,
thank you for this improvement!

@hollesse hollesse added the hacktoberfest-accepted PR was done as part of Hacktoberfest label Oct 14, 2024
@hollesse hollesse merged commit f8e68f2 into remotemobprogramming:main Oct 14, 2024
5 of 6 checks passed
@schmonz schmonz deleted the portable-shell-string-comparison branch October 14, 2024 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted PR was done as part of Hacktoberfest
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants