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
To prevent (IMO very non-descriptive) error for expressions like this
$ echo x=123 | mlr filter '$x =~ "^[0-9]+$"' Expression does not evaluate to boolean: got MT_ERROR.
I know I can coerce explicitly, but I see no reason for this
$ echo x=123 | mlr filter 'string($x) =~ "^[0-9]+$"' x=123
The text was updated successfully, but these errors were encountered:
Intended miller way is
$ echo x=123 | mlr filter -S '$x =~ "^[0-9]+$"' x=123
See issue #150 and FAQ
Sorry, something went wrong.
In the spirit of #151 this will be handled better in the future, without need for -S.
-S
@divtiply this already works in Miller 6 -- sorry I didn't close this out sooner! :)
$ mlr --version Miller v6.0.0-dev $ echo x=123 | mlr filter -S '$x =~ "^[0-9]+$"' x=123
thank you very much @johnkerl
No branches or pull requests
To prevent (IMO very non-descriptive) error for expressions like this
I know I can coerce explicitly, but I see no reason for this
The text was updated successfully, but these errors were encountered: