Commit graph

131 commits

Author SHA1 Message Date
John Kerl
7d730b05e9 verb mods 2022-03-15 23:26:55 -04:00
John Kerl
e7883442ff CST mods 2022-03-15 23:19:39 -04:00
John Kerl
1ad522d888 build artifacts from GOCC on BNF 2022-03-15 23:19:23 -04:00
John Kerl
5879eb5259 Put exit statement into DSL grammar 2022-03-15 23:18:52 -04:00
John Kerl
42ff8309f1 AST type for exit statement 2022-03-15 23:18:35 -04:00
John Kerl
03132c5169 awkish exit: exit-code struct 2022-03-15 23:17:44 -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
John Kerl
d75dfa956a
Fix typo in on-line help for splitax DSL function (#964)
* Fix typo in splitax on-line help

* doc-build artifacts
2022-02-23 21:14:45 -05:00
John Kerl
a7226b1633 More code comments re mindex/zindex 2022-02-22 08:52:48 -05:00
John Kerl
3961ee1695 Apply correct array-slicing logic to formerly incorrect substr0 2022-02-21 23:36:55 -05:00
John Kerl
837bce9e04 Apply correct array-slicing logic to formerly incorrect string-slicer 2022-02-21 23:22:39 -05:00
John Kerl
16d873427a Code-dedupe logic for array slices and string slices 2022-02-21 23:17:37 -05:00
John Kerl
14e3a719cb
Let mlr repl print empty strings (#959) 2022-02-21 17:49:46 -05:00
John Kerl
472b42d094
Support Latin-1 supplement a0-ff as DSL string literals (#957)
* Support Latin-1 supplement a0-ff as DSL string literals

* build artifacts for previous commit
2022-02-21 17:02:34 -05:00
John Kerl
8dbd2601e0
Support Latin-1 supplement a0-ff as DSL string literals (#954) 2022-02-21 13:35:19 -05:00
John Kerl
228f73415e
Add --implicit-tsv-header as alias for --implicit-csv-header, etc (#952)
* Add -implicit-tsv-header as aliias for --implicit-csv-header, etc

* doc-build artifacts for previous commit
2022-02-21 12:48:43 -05:00
John Kerl
47a427b00c
Fix "%%" in strptime; more test cases for strptime (#951)
* strptime debug mode

* Fix strptime %% format code

* internal/pkg/pbnjay-strptime/strptime_test.go; reg-test files

* Web-doc improvements for strftime and strptime

* doc-build artifacts
2022-02-21 12:21:04 -05:00
John Kerl
43ff9108ee
Neaten strptime.go (#950) 2022-02-20 00:29:35 -05:00
John Kerl
fb70f7a9d5 extend fmtifnum on-line-help examples 2022-02-19 23:26:24 -05:00
John Kerl
e1c2a7a07a Remove some dead code 2022-02-18 22:40:27 -05:00
Jordi
8aecba305f
Fix: multiple documentation tweaks (#949)
* Fix: multiple documentation tweaks

* Fix: undo two lines removal

* Fix: recover the lost Oxford commas
2022-02-18 18:38:30 -05:00
John Kerl
bb95f37066
New fmtifnum DSL function; make fmtnum/fmtifnum recursive over maps and arrays (#946)
* 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
2022-02-14 23:57:14 -05:00
John Kerl
9d0159700c
Support %F, %T, and more in strptime (#944)
* Support %F, %T, and more in strptime

* Unit-test cases

* code-neaten
2022-02-13 19:38:17 -05:00
John Kerl
f444459b25
Fix handling of mlr nest abbrevs (#937)
* Fix handling of mlr nest abbrevs

* expanded test cases
2022-02-10 10:17:39 -05:00
John Kerl
8eeb82809e
Webdoc information on Unicode string literals (#935) 2022-02-09 00:28:04 -05:00
John Kerl
98d0a4398a
'mlr help function nonesuch' should not be silent (#934)
* mlr help function nonesuch should not be silent

* doc-build artifacts
2022-02-08 21:19:46 -05:00
John Kerl
d67868bd33
Add Inf and NaN literals to the DSL (#933)
* Add Inf and NaN literals to the DSL

* Parser-build artifacts

* is_nan DSL function

* doc-build artifacts

* webdoc material
2022-02-08 09:58:50 -05:00
John Kerl
ca9505dfaf
Natural sort (#932)
* 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
2022-02-08 00:35:28 -05:00
John Kerl
12e457bc96
strptime %j format for 3-digit day in year (#930)
* strptime %j format for 3-digit day in year

* doc mods
2022-02-07 09:10:27 -05:00
John Kerl
b983f825c0 Clarify time on-line help 2022-02-06 13:25:35 -05:00
John Kerl
9f3b1c8711
Fix is_non_empty for absent case (#928) 2022-02-06 13:10:36 -05:00
John Kerl
4ac5c80b11
Expand on-line help for split* DSL functions (#927)
* Expand on-line for split* DSL functions

* doc-build artifacts
2022-02-06 12:34:23 -05:00
John Kerl
d637559fea
On-line help for -s flag (#926)
* On-line help for -s flag

* doc-build artifacts
2022-02-06 11:20:10 -05:00
John Kerl
41235c1e81 typofix 2022-02-06 10:51:13 -05:00
John Kerl
9f5a11f707
New --lazy-quotes flag for helping with malformed CSV (#925)
* Lazy-quotes option for CSV parser

* doc-build artifacts

* test cases

* doc-proofreads
2022-02-06 01:05:35 -05:00
John Kerl
4f16054a62
Let :resetblocks/:rb in the REPL take optional begin/main/end (#924) 2022-02-06 00:31:45 -05:00
John Kerl
66c4a077fd
Make TSV finally true TSV (#923)
* Spec-TSV

* doc mods; more test cases
2022-02-06 00:13:55 -05:00
John Kerl
ac47c7052a typofix 2022-02-05 00:27:25 -05:00
John Kerl
b7f76cd622
Multiple on-line-help issues from #908 (#921)
* More on issue 908

* doc-build artifacts
2022-02-05 00:18:55 -05:00
John Kerl
9c29f0cef9
Multiple on-line-help issues from #908 (#913)
* Populate help strings for systime, systimeint, and uptime DSL functions

* Extend help strings for joink, joinv, and joinkv

* Expand on-line help for ssub/sub/gsub

* doc artifacts
2022-02-04 22:43:33 -05:00
John Kerl
aa960040d8
Add :resetblocks / :rb to REPL (#920) 2022-02-04 09:53:18 -05:00
John Kerl
fe8d65fe1a
Include \U support in addition to \u for DSL Unicode string literals (#917) 2022-02-02 09:35:29 -05:00
John Kerl
595e182751
Support unicode literals in the Miller DSL (#916)
* neaten lib/unbackslash_test.go

* Support unicode literals in the Miller DSL
2022-02-02 00:00:32 -05:00