We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is not the case however.
One issue i ran in to is that they treat leading zeroes differently:
% bash --norc bash-5.2$ [ 0700 -lt 643 ]; echo $? 1 bash-5.2$ [[ 0700 -lt 643 ]]; echo $? 0
Another issue is that "equality" gives different results depending on your quoting:
% bash --norc bash-5.2$ [ xyzzy = xy*y ]; echo $? 1 bash-5.2$ [[ xyzzy = xy*y ]]; echo $? 0 bash-5.2$ [ "xyzzy" = "xy*y" ]; echo $? 1 bash-5.2$ [[ "xyzzy" = "xy*y" ]]; echo $? 1
I'm not sure if this is just a documentation issue or if some further checks could be written.
The text was updated successfully, but these errors were encountered:
(The second issue is alluded to in the Bash faq resource if you read it very carefully.)
Sorry, something went wrong.
No branches or pull requests
This is not the case however.
One issue i ran in to is that they treat leading zeroes differently:
Another issue is that "equality" gives different results depending on your quoting:
I'm not sure if this is just a documentation issue or if some further checks could be written.
The text was updated successfully, but these errors were encountered: