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

Shell change to be more explicit about shell numeric comparisons #301

Merged
merged 1 commit into from
May 31, 2022

Conversation

johnrandolph
Copy link
Collaborator

Related to running these scripts on OSX and wc -w had different stdout

Copy link
Collaborator

@grafnu grafnu left a comment

Choose a reason for hiding this comment

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

What's the reason for the change? I don't have a problem with it... but I would have assumed that == was better than -eq in this case? Also, seems to be a lot of stray files from the other PR in here...

@johnrandolph
Copy link
Collaborator Author

-eq -ne are numeric comparison operators. This fixes the OSX wc -w output is " 4 " we saw the other day.

@grafnu
Copy link
Collaborator

grafnu commented Apr 19, 2022 via email

@johnrandolph johnrandolph merged commit 7a9fa2b into faucetsdn:master May 31, 2022
@johnrandolph johnrandolph deleted the shell branch May 31, 2022 15:13
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