8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
expr <some string> length
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
When running $ expr helloworld length, GNU expr fails with:
$ expr helloworld length
expr
expr: syntax error: unexpected argument ‘length’
uutils expr, on the other hand, incorrectly returns 10, the length of the string helloworld.
10
helloworld
The text was updated successfully, but these errors were encountered:
Similar errors with index and substr: GNU:
index
substr
$ expr aaa index a expr: syntax error: unexpected argument ‘index’ $ expr abcd substr 1 2 expr: syntax error: unexpected argument ‘substr’
uutils:
$ ./target/debug/expr aaa index a 1 $ ./target/debug/expr abcd substr 1 2 ab
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
When running
$ expr helloworld length
, GNUexpr
fails with:uutils
expr
, on the other hand, incorrectly returns10
, the length of the stringhelloworld
.The text was updated successfully, but these errors were encountered: