This commit is contained in:
John Kerl 2021-02-09 09:08:54 -05:00
parent 72dba460e2
commit 9731fbfeec

View file

@ -11,7 +11,7 @@ Using put and filter, you can do the following:
* Define user-defined functions/subroutines using `func` and `subr`.
* Specify statements to be executed on each record -- which are anything outside of `begin`/`end`/`func`/`subr`.
* Example:
`mlr --icsv --ojson put 'begin {print "HELLO"} $z = $x + $y end {print "GOODBYE"}`
`mlr --icsv --ojson put 'begin {print "HELLO"} $z = $x + $y; end {print "GOODBYE"}`
Using the REPL, by contrast, you get interactive control over those same steps: