miller icon indicating copy to clipboard operation
miller copied to clipboard

REPL should not exit if invalid function

Open agguser opened this issue 6 months ago • 0 comments

$ mlr repl
Miller 6.13.0 REPL for linux/amd64/go1.23.2
Docs: https://miller.readthedocs.io
Type ':h' or ':help' for online help; ':q' or ':quit' to quit.
[mlr] xprint 123   # not exit if invalid keyword
mlr: cannot parse DSL expression.
…
[mlr] xvar   # not exit if invalid variable
(absent)
[mlr] xlength(123)   # but exit if invalid function!
mlr: function name not found: xlength

$ echo $?
1

agguser avatar Jun 24 '25 10:06 agguser