* latin1_to_utf8 and utf8_to_latin1 DSL functions
* doc-build artifacts for previous commit
* Test cases for latin1_to_utf8 and utf8_to_latin1
* extend on-line help
* latin1_to_utf8 and utf8_to_latin1 verbs
* unit-test cases for verbs
* Keep with kebab-case naming convention for verbs
* webdocs
* New fmtifnum DSL function
* doc-build artifacts for previous commit
* Make fmtnum/fmtifnum recursive over maps and arrays
* Online-help examples for fmtnum/fmtifnum
* doc-build artifacts for previous commit
* unit-test cases
* code-dedupe
* Add natural sort order as an option for the sort verb
* Add natural sort order as an option for the sort DSL function
* doc-build artifacts for on-line help
* webdocs
* codespell fix
* unit-test files for sort verb
* unit-test files for sort DSL function
Miller assumes 64-bit integers, but in Go, the int type varies in size
depending on the architecture: 32-bit architectures have int
equivalent to int32. As a result, the supported range of integer
values is greatly reduced on 32-bit architectures compared to what is
suggested by the documentation.
This patch explicitly uses int64 wherever 64-bit integers are
assumed.
Test cases affected by the behaviour of the random generator are
updated to reflect the new values (the existing seed doesn't produce
the same behaviour since the way random values are generated has
changed).
Signed-off-by: Stephen Kitt <steve@sk2.org>
* todo
* Neaten existing DSL sketch
* rebase on #893, and sketch
* code-complete
* build artifacts for previous commit
* replace - with _ in shift and slwin
In test cases, support a ${MLR} placeholder for the mlr binary under
test, instead of assuming it's ./mlr (or its equivalent on platforms
not using forward slashes).
This ensures that wrapped mlr invocations all use the same binary,
either the default or the binary specified by the user, avoiding
surprises when ./mlr doesn't exist or is a different version.
Signed-off-by: Stephen Kitt <steve@sk2.org>
* New format DSL function
* Updated affected test cases involving on-line help on "for" prefix
* doc-build artifacts for previous commit
* regression-test cases
* Continue from #856
* Update expected-fail messages in test cases
* Allow 0o... octal literals in the DSL
* Build artifacts for previous commit
* go.mod/go.sum for goccmack/gocc
* Regression-test case
* Doc updates