mirror of
https://github.com/johnkerl/miller.git
synced 2026-01-23 02:14:13 +00:00
parent
d7a5997d70
commit
047cb4bc28
167 changed files with 229 additions and 257 deletions
|
|
@ -202,7 +202,7 @@ Options:
|
|||
Since the expression pieces are simply concatenated, please be sure to use intervening
|
||||
semicolons to separate expressions.)
|
||||
|
||||
-s name=value: Predefines out-of-stream variable @name to have
|
||||
-s name=value: Predefines out-of-stream variable @name to have
|
||||
Thus mlr put -s foo=97 '$column += @foo' is like
|
||||
mlr put 'begin {@foo = 97} $column += @foo'.
|
||||
The value part is subject to type-inferencing.
|
||||
|
|
@ -681,7 +681,7 @@ Options:
|
|||
Since the expression pieces are simply concatenated, please be sure to use intervening
|
||||
semicolons to separate expressions.)
|
||||
|
||||
-s name=value: Predefines out-of-stream variable @name to have
|
||||
-s name=value: Predefines out-of-stream variable @name to have
|
||||
Thus mlr put -s foo=97 '$column += @foo' is like
|
||||
mlr put 'begin {@foo = 97} $column += @foo'.
|
||||
The value part is subject to type-inferencing.
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: couldn't assign variable int i from value float 0.34679014
|
||||
mlr: couldn't assign variable int i from value float 0.34679014
|
||||
|
|
@ -1 +1 @@
|
|||
mlr: couldn't assign variable int function return value from value float 3.79679014
|
||||
mlr: couldn't assign variable int function return value from value float 3.79679014
|
||||
|
|
@ -1 +1 @@
|
|||
mlr: couldn't assign variable int function return value from value float 4.45000000
|
||||
mlr: couldn't assign variable int function return value from value float 4.45000000
|
||||
|
|
@ -1 +1 @@
|
|||
mlr: couldn't assign variable int function return value from value error (error)
|
||||
mlr: couldn't assign variable int function return value from value error (error)
|
||||
|
|
@ -1,2 +1 @@
|
|||
mlr: couldn't assign variable int i from value float 0.34679014
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
mlr: couldn't assign variable num i from value string a
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: '[[...]]' is allowed on assignment left-hand sides only when immediately preceded by '$'.
|
||||
mlr: '[[...]]' is allowed on assignment left-hand sides only when immediately preceded by '$'
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: '[[[...]]]' is allowed on assignment left-hand sides only when immediately preceded by '$'.
|
||||
mlr: '[[[...]]]' is allowed on assignment left-hand sides only when immediately preceded by '$'
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: '[[...]]' is allowed on assignment left-hand sides only when immediately preceded by '$'.
|
||||
mlr: '[[...]]' is allowed on assignment left-hand sides only when immediately preceded by '$'
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: '[[...]]' is allowed on assignment left-hand sides only when immediately preceded by '$'.
|
||||
mlr: '[[...]]' is allowed on assignment left-hand sides only when immediately preceded by '$'
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: '[[...]]' is allowed on assignment left-hand sides only when immediately preceded by '$'.
|
||||
mlr: '[[...]]' is allowed on assignment left-hand sides only when immediately preceded by '$'
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: '[[...]]' is allowed on assignment left-hand sides only when immediately preceded by '$'.
|
||||
mlr: '[[...]]' is allowed on assignment left-hand sides only when immediately preceded by '$'
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: '[[[...]]]' is allowed on assignment left-hand sides only when immediately preceded by '$'.
|
||||
mlr: '[[[...]]]' is allowed on assignment left-hand sides only when immediately preceded by '$'
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: begin blocks can only be at top level.
|
||||
mlr: begin blocks can only be at top level
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: begin blocks can only be at top level.
|
||||
mlr: begin blocks can only be at top level
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: end blocks can only be at top level.
|
||||
mlr: end blocks can only be at top level
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: end blocks can only be at top level.
|
||||
mlr: end blocks can only be at top level
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: begin/end blocks cannot refer to records via $x, $*, etc.
|
||||
mlr: begin/end blocks cannot refer to records via $x, $*, etc
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: begin/end blocks cannot refer to records via $x, $*, etc.
|
||||
mlr: begin/end blocks cannot refer to records via $x, $*, etc
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: begin/end blocks cannot refer to records via $x, $*, etc.
|
||||
mlr: begin/end blocks cannot refer to records via $x, $*, etc
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: begin/end blocks cannot refer to records via $x, $*, etc.
|
||||
mlr: begin/end blocks cannot refer to records via $x, $*, etc
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: begin/end blocks cannot refer to records via $x, $*, etc.
|
||||
mlr: begin/end blocks cannot refer to records via $x, $*, etc
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: begin/end blocks cannot refer to records via $x, $*, etc.
|
||||
mlr: begin/end blocks cannot refer to records via $x, $*, etc
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: begin/end blocks cannot refer to records via $x, $*, etc.
|
||||
mlr: begin/end blocks cannot refer to records via $x, $*, etc
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: begin/end blocks cannot refer to records via $x, $*, etc.
|
||||
mlr: begin/end blocks cannot refer to records via $x, $*, etc
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: begin/end blocks cannot refer to records via $x, $*, etc.
|
||||
mlr: begin/end blocks cannot refer to records via $x, $*, etc
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: begin/end blocks cannot refer to records via $x, $*, etc.
|
||||
mlr: begin/end blocks cannot refer to records via $x, $*, etc
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: break statements are only valid within for/do/while loops.
|
||||
mlr: break statements are only valid within for/do/while loops
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: break statements are only valid within for/do/while loops.
|
||||
mlr: break statements are only valid within for/do/while loops
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: break statements are only valid within for/do/while loops.
|
||||
mlr: break statements are only valid within for/do/while loops
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: break statements are only valid within for/do/while loops.
|
||||
mlr: break statements are only valid within for/do/while loops
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: filter expressions must not also contain the "filter" keyword.
|
||||
mlr: filter expressions must not also contain the "filter" keyword
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: filter expressions must not also contain the "filter" keyword.
|
||||
mlr: filter expressions must not also contain the "filter" keyword
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: begin blocks can only be at top level.
|
||||
mlr: begin blocks can only be at top level
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: end blocks can only be at top level.
|
||||
mlr: end blocks can only be at top level
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: begin blocks can only be at top level.
|
||||
mlr: begin blocks can only be at top level
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: end blocks can only be at top level.
|
||||
mlr: end blocks can only be at top level
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: func blocks can only be at top level.
|
||||
mlr: func blocks can only be at top level
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: subr blocks can only be at top level.
|
||||
mlr: subr blocks can only be at top level
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: begin/end blocks cannot refer to records via $x, $*, etc.
|
||||
mlr: begin/end blocks cannot refer to records via $x, $*, etc
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: return statements are only valid within func/subr blocks.
|
||||
mlr: return statements are only valid within func/subr blocks
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: break statements are only valid within for/do/while loops.
|
||||
mlr: break statements are only valid within for/do/while loops
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: break statements are only valid within for/do/while loops.
|
||||
mlr: break statements are only valid within for/do/while loops
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: break statements are only valid within for/do/while loops.
|
||||
mlr: break statements are only valid within for/do/while loops
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: break statements are only valid within for/do/while loops.
|
||||
mlr: break statements are only valid within for/do/while loops
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: filter statement must not be empty.
|
||||
mlr: filter statement must not be empty
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: ENV[...] cannot be indexed.
|
||||
mlr: ENV[...] cannot be indexed
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
mlr: function sort takes maximum argument count 2; got 4.
|
||||
|
||||
mlr: function sort takes maximum argument count 2; got 4
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
mlr: function sort takes maximum argument count 2; got 4.
|
||||
|
||||
mlr: function sort takes maximum argument count 2; got 4
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: redefinition of variable k in the same scope.
|
||||
mlr: redefinition of variable k in the same scope
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: redefinition of variable k in the same scope.
|
||||
mlr: redefinition of variable k in the same scope
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: redefinition of variable a in the same scope.
|
||||
mlr: redefinition of variable a in the same scope
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: redefinition of variable a in the same scope.
|
||||
mlr: redefinition of variable a in the same scope
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: redefinition of variable b in the same scope.
|
||||
mlr: redefinition of variable b in the same scope
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: redefinition of variable a in the same scope.
|
||||
mlr: redefinition of variable a in the same scope
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: redefinition of variable a in the same scope.
|
||||
mlr: redefinition of variable a in the same scope
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: redefinition of variable a in the same scope.
|
||||
mlr: redefinition of variable a in the same scope
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: redefinition of variable b in the same scope.
|
||||
mlr: redefinition of variable b in the same scope
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: redefinition of variable b in the same scope.
|
||||
mlr: redefinition of variable b in the same scope
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: redefinition of variable c in the same scope.
|
||||
mlr: redefinition of variable c in the same scope
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: the triple-for continuation statement must be a bare boolean.
|
||||
mlr: the triple-for continuation statement must be a bare boolean
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: the final triple-for continuation statement must be a bare boolean.
|
||||
mlr: the final triple-for continuation statement must be a bare boolean
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: the non-final triple-for continuation statements must be assignments.
|
||||
mlr: the non-final triple-for continuation statements must be assignments
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: the non-final triple-for continuation statements must be assignments.
|
||||
mlr: the non-final triple-for continuation statements must be assignments
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
mlr: couldn't assign variable float i from value int 0
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
mlr: couldn't assign variable int i from value float 1.50000000
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
mlr: couldn't assign variable int i from value float 1.00000000
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: lashed-emit node types must be local variables, field names, or oosvars; got map literal.
|
||||
mlr: lashed-emit node types must be local variables, field names, or oosvars; got map literal
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: conditional expression did not evaluate to boolean at DSL expression line 5 column 3.
|
||||
mlr: conditional expression did not evaluate to boolean at DSL expression line 5 column 3
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: conditional expression did not evaluate to boolean at DSL expression line 6 column 12.
|
||||
mlr: conditional expression did not evaluate to boolean at DSL expression line 6 column 12
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: for-loop continuation did not evaluate to boolean at DSL expression line 5 column 9.
|
||||
mlr: for-loop continuation did not evaluate to boolean at DSL expression line 5 column 9
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: conditional expression did not evaluate to boolean at DSL expression line 5 column 7.
|
||||
mlr: conditional expression did not evaluate to boolean at DSL expression line 5 column 7
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: conditional expression did not evaluate to boolean at DSL expression line 5 column 10.
|
||||
mlr: conditional expression did not evaluate to boolean at DSL expression line 5 column 10
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
mlr: couldn't assign variable map a from value int 2
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
mlr: couldn't assign variable map a from value int 2
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
mlr: couldn't assign variable str a from value int 1
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
mlr: couldn't assign variable int a from value string pan
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
mlr: function mapexcept takes minimum argument count 1; got 0.
|
||||
|
||||
mlr: function mapexcept takes minimum argument count 1; got 0
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
mlr: function mapselect takes minimum argument count 1; got 0.
|
||||
|
||||
mlr: function mapselect takes minimum argument count 1; got 0
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
mlr: function mapexcept takes minimum argument count 1; got 0.
|
||||
|
||||
mlr: function mapexcept takes minimum argument count 1; got 0
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
mlr: function mapselect takes minimum argument count 1; got 0.
|
||||
|
||||
mlr: function mapselect takes minimum argument count 1; got 0
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
mlr: couldn't assign variable map o from value int 1
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
mlr: couldn't assign variable map o from value int 1
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: couldn't assign variable int x from value float 0.34679014
|
||||
mlr: couldn't assign variable int x from value float 0.34679014
|
||||
|
|
@ -1 +1 @@
|
|||
mlr: couldn't assign variable int x from value float 0.34679014
|
||||
mlr: couldn't assign variable int x from value float 0.34679014
|
||||
|
|
@ -1 +1 @@
|
|||
mlr: couldn't assign variable int x from value float 0.34679014
|
||||
mlr: couldn't assign variable int x from value float 0.34679014
|
||||
|
|
@ -1 +1 @@
|
|||
mlr: couldn't assign variable int function return value from value absent (absent)
|
||||
mlr: couldn't assign variable int function return value from value absent (absent)
|
||||
|
|
@ -1,2 +1 @@
|
|||
mlr: couldn't assign variable var b from value error (error)
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: filter expressions must not also contain the "filter" keyword.
|
||||
mlr: filter expressions must not also contain the "filter" keyword
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: int literal is not valid for unset statement.
|
||||
mlr: int literal is not valid for unset statement
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: return statements in subr blocks must not return a value.
|
||||
mlr: return statements in subr blocks must not return a value
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: subroutine named "s" has already been defined.
|
||||
mlr: subroutine named "s" has already been defined
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: the triple-for continuation statement must be a bare boolean.
|
||||
mlr: the triple-for continuation statement must be a bare boolean
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: the non-final triple-for continuation statements must be assignments.
|
||||
mlr: the non-final triple-for continuation statements must be assignments
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
mlr: couldn't assign variable str x from value int 3
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
mlr: couldn't assign variable arr x from value int 3
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr: couldn't assign variable str x from value int 3
|
||||
mlr: couldn't assign variable str x from value int 3
|
||||
|
|
@ -1 +1 @@
|
|||
mlr: couldn't assign variable arr x from value int 3
|
||||
mlr: couldn't assign variable arr x from value int 3
|
||||
|
|
@ -1 +1 @@
|
|||
mlr: couldn't assign variable str function return value from value int 6
|
||||
mlr: couldn't assign variable str function return value from value int 6
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue