John Kerl
abf58f4bb5
Restore --quote-all for CSV output ( #1084 )
...
* Restore --quote-all flag for CSV output
* make dev: for doc-build artifacts
2022-08-22 09:38:53 -04:00
John Kerl
a8cc3032dc
Restore the --jvquoteall flag ( #1083 )
...
* Restore --jvquoteall flag
* make dev: for doc-build artifacts
* unit-test file
2022-08-22 09:36:58 -04:00
John Kerl
0d6f330eda
forgot to make a branch/PR for --quote-all
2022-08-22 09:25:09 -04:00
John Kerl
b27dcddfe3
Restore --quote-all flag for CSV output
2022-08-22 09:17:37 -04:00
John Kerl
a28554216a
post-6.4.0
2022-08-20 21:30:12 -04:00
John Kerl
3c5cc37bdf
6.4.0 release ( #1081 )
...
* 6.4.0
* make dev for 6.4.0
2022-08-20 18:15:43 -04:00
John Kerl
dafec6dc09
mlr cat --filename / --filenum ( #1080 )
...
* mlr cat --filename / --filenum
* codespell
2022-08-20 08:42:15 -04:00
Matt Forrester
e55efbbfad
doc: fix docs for system/exec() ( #1071 )
...
Co-authored-by: Matthew Forrester <matthew.forrester@speechmarks.com>
2022-08-13 23:55:05 -04:00
Abirdcfly
17420e9594
delete unreachable test code caused by os.Exit ( #1073 )
...
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
2022-08-11 08:13:49 -04:00
John Kerl
c95c054c48
allow multi-line string literals in the DSL ( #1070 )
2022-08-09 08:51:44 -04:00
John Kerl
5ffb8a59b3
make dev after #1067
2022-08-07 00:40:44 -04:00
Matt Forrester
7a30f3552e
feat: system/exec() function call ( #1067 )
...
Co-authored-by: Matthew Forrester <matthew.forrester@speechmarks.com>
2022-08-07 00:36:53 -04:00
John Kerl
c1a1589174
Support simplified sort-map-by-value in the DSL ( #1069 )
...
* add shorthands for sorting maps by value
* unit-test files
* on-line help content
2022-08-07 00:31:08 -04:00
John Kerl
a64133250c
Fix natsort of empty strings; support mlr sort -rt same as -tr ( #1068 )
...
* mlr sort -rt == mlrt sort -tr
* fix natsort of empty strings
2022-08-06 23:10:09 -04:00
Fulvio Scapin
c9e0559cf6
[Docs] moving --xvright out of the FLATTEN-UNFLATTEN FLAGS section ( #1065 )
2022-08-01 09:53:40 -04:00
John Kerl
9b56162c96
Make PPRINT empty-string markers readable as such ( #1059 )
2022-07-17 00:07:12 -04:00
John Kerl
bbeeb92a37
Allow "\n" in mlr repl prompt ( #1058 )
2022-07-12 19:07:11 -04:00
John Kerl
ba349fe66f
README-go-port.md -> README-dev.md
2022-07-12 17:15:06 -04:00
John Kerl
8bca869b68
update null_count for use in stats1
2022-07-12 01:27:04 -04:00
John Kerl
64b3cbfcfe
mlr summary verb ( #1056 )
...
* mlr summary verb
* doc content
* iterating on more summarizers; needs work as noted in the PR
* mlr summary with selectable accumulators
* code-review feedback
* iterating on transposed output
* extend unit-test cases
* doc extensions
2022-07-12 00:57:34 -04:00
John Kerl
6b32e1f419
Reduce number of os.Exit callsites, part 1 of n ( #1055 )
...
* neaten some uses of os.Exit
* iterating
* iterating
* iterating
* iterating
* iterating
* iterating
* iterating
2022-07-09 18:53:24 -04:00
luzpaz
42cd2ff7ad
Fix doc typo ( #1054 )
2022-07-08 09:25:22 -04:00
John Kerl
88a23f41e7
6.3.0-dev
2022-07-07 16:02:40 -04:00
John Kerl
31d8632a7f
6.3.0
2022-07-07 15:23:18 -04:00
John Kerl
4c5dba6036
Enable output colorization on Windows by default ( #1051 )
...
* Enable output colorization on Windows following after #1045
* doc updates
2022-07-07 15:12:44 -04:00
Thijs Brobbel
485beb126b
Enable ANSI escape sequence processing on Windows ( #1045 )
...
Windows added support for ANSI escape sequences processing, and showing
colors, and such. However, this needs to be enabled explicitly, for that
to work. This enables that on startup.
2022-07-05 10:37:47 -04:00
John Kerl
418f6d80aa
Let + be an alias for then ( #1049 )
2022-07-04 17:23:19 -04:00
John Kerl
23aefb5646
Fix issue 1032 ( #1048 )
...
* Fix issue 1032
* test files
2022-07-04 16:07:12 -04:00
John Kerl
52ce2473fb
Fix issue 1037 ( #1047 )
...
* Fix issue 1037
* test files
2022-07-04 15:40:42 -04:00
John Kerl
e905587ac8
Avoid panic when the command line ends in 'then' ( #1033 )
2022-06-04 11:29:53 -04:00
John Kerl
e91d19de25
typofix
2022-05-14 14:47:14 -04:00
John Kerl
18a6977749
Fix ASCII vs UTF-8 in TSV writer ( #1023 )
...
* Fix ASCII vs UTF-8 in TSV writer
* regression-test case
2022-05-02 20:52:34 -04:00
John Kerl
d50f22924a
Allow x ** - y and x ** + y in the DSL grammar ( #1021 )
...
* Allow x ** - y in the DSL grammar
* Parser-generator artifacts
* AST-builder support
* regression-test cases
* comments
2022-05-02 01:03:24 -04:00
John Kerl
2e727829c4
Accept + in exponent of scientific-notation floating-point DSL literals ( #1020 )
...
* Accept + in scientific-notation floating-point DSL literals
* Parser-generator artifacts; unit-test update; go mod update
2022-05-01 23:39:03 -04:00
John Kerl
de9dbfc212
Fix panic on 'mlr sort -n'
2022-03-28 23:26:37 -04:00
John Kerl
d03ef16cfc
Add line/column info for DSL runtime non-parse failures ( #998 )
...
* Add line/column info for DSL runtime non-parse failures
* Other related callsites
* test cases
* Update already-existing test cases
2022-03-20 21:57:11 -04:00
John Kerl
2408915160
DSL functions and verbs for UTF-8 <-> Latin-1 ( #997 )
...
* 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
2022-03-20 17:29:40 -04:00
John Kerl
4191c35b7c
Re-use whitespace regexp in clean_whitespace ( #994 )
...
* DSL strict mode
* Re-use whitespace regexp in clean_whitespace
2022-03-20 12:17:51 -04:00
John Kerl
ccf9d0fdc5
post-6.2.0
2022-03-19 00:22:55 -04:00
John Kerl
13471b0c83
6.2.0
2022-03-18 23:50:34 -04:00
John Kerl
f9e3256367
gssub DSL function ( #989 )
...
* gssub DSL function
* build artifacts for gssub source-code change
* unit-test files
* gssub / Latin 1 example in docs
* code-dedupe ssub and gssub
2022-03-18 23:48:27 -04:00
John Kerl
42a39a86ac
Use fixed OFMT for multi-platform regression-testing ( #988 )
...
* Use fixed OFMT for multi-platform regression-testing
* Update regression tests to use fixed OFMT
2022-03-16 14:44:42 -04:00
John Kerl
8f04d7671d
Restore --tsvlite ( #984 )
...
* Restore --tsvlite flag
* todo
* doc-build artifacts
* doc note on --tsv vs --tsvlite and backslashed data
2022-03-15 09:01:20 -04:00
John Kerl
47ef5de0bb
Let dhms2sec accept input like "8h" ( #983 )
...
* Let dhms2sec accept input like "8h"
* Regression-test cases
2022-03-14 23:47:50 -04:00
John Kerl
eb48851455
6.1.0 post-release
2022-03-07 23:27:40 -05:00
John Kerl
d3ef6a9cdb
6.1.0 release ( #975 )
2022-03-07 10:57:00 -05:00
John Kerl
7b89bab8dd
Support more Go regex patterns, like "\d" ( #974 )
...
* Support more Go regex patterns
* Simplify doc example
* todo
2022-03-07 00:06:33 -05:00
John Kerl
42628b83d3
Typofix in unformat/unformatx on-line help
2022-02-24 09:56:08 -05:00
John Kerl
9b806f9561
Add --left-keep-fields option for mlr join ( #967 )
...
* Add --left-keep-fields option for mlr join
* on-line help for mlr join --lk
* doc-build artifacts
* test cases
2022-02-23 23:32:19 -05:00
John Kerl
f6d897bf7d
More doc material for :context in the REPL ( #966 )
2022-02-23 21:23:19 -05:00