Commit graph

215 commits

Author SHA1 Message Date
John Kerl
c5ceb20a4e
Fix mlr grep docs re OFS/OPS (#1309)
* Fix `mlr grep` doc re OFS/OPS

* make-dev artifacts
2023-06-06 00:18:51 -04:00
John Kerl
e158e1c616 post-6.8.0 2023-06-04 16:38:18 -04:00
John Kerl
7ec36162ba miller 6.8.0 2023-06-04 15:07:38 -04:00
John Kerl
59e63272ae
Unify the case verb, and add options (#1306)
* temp

* Unified `case` verb

* unit-test cases

* doc-page update

* make-dev artifacts
2023-06-04 14:38:22 -04:00
John Kerl
394681c4c1
Values-only -a option for mlr grep (#1305)
* Values-only option for `mlr grep`

* Artifacts from `make dev`
2023-06-03 17:19:40 -04:00
John Kerl
60b1f1b451
Let mlr help take pre-flags, such as --always-color (#1292)
* Let `mlr help` take pre-flags, such as `--always-color`

* Better on-line help for auxents and terminals

* Support `mlr help flag --foo`
2023-05-15 01:14:59 -04:00
John Kerl
d16310ead8
New mlr json-parse -k flag (#1291)
* New `mlr json-parse -k` flag

* docs / make-dev artifacts

* Add unit-test files for the feature

* codespell
2023-05-13 11:22:01 -04:00
John Kerl
5801f5c0a2
Implement --csv-trim-leading-space flag (#1272)
* Implement --csv-trim-leading-space flag

* Artifacts from `make dev`
2023-04-20 13:13:55 -03:00
John Kerl
ae61dc5a4f
Fix precedence of coalesce operators ?? and ??? (#1270)
* Fix precedence of coalesce operators

* GOCC codegen

* unit-test updates

* operator-precedence documentation

* doc-build artifacts
2023-04-15 23:33:49 -04:00
John Kerl
b8f3902e6e
Treaet data-file numbers with leading + as numeric (#1269)
* accept data-file numbers with leading + as numeric

* augment unit-test cases

* artifacts from `make dev`
2023-04-15 15:57:22 -04:00
John Kerl
2d00b44ead
Better error message on unparseable TZ environment variable (#1249) 2023-03-30 08:37:33 -04:00
John Kerl
fa9b00ee64
index DSL function [WIP] (#1247) 2023-03-27 00:37:33 -04:00
John Kerl
ff659b8a7e
Add optional second base argument to int DSL function (#1244)
* Add optional second base argument to `int` DSL function

* artifacts from `make dev`

* unit-test cases

* typofix
2023-03-24 00:28:39 -04:00
John Kerl
bfc8ab5ce2
Add mlr step -a rprod for running products (#1228)
* mlr step -a rprod

* artifacts from `make dev`

* codespell
2023-03-12 13:32:23 -04:00
John Kerl
f528e65802 Merge branch 'main' of github.com:johnkerl/miller 2023-03-06 00:11:59 -05:00
John Kerl
e9846313a5 doc note for #1218 2023-03-06 00:11:54 -05:00
John Kerl
6ea94a002b
Add new upcase and downcase verbs (#1217)
* upcase/downcase verbs

* unit-test cases

* doc files

* remaining `make dev` artifacts: manpage
2023-03-04 01:08:19 -05:00
John Kerl
38d7de545d
Docs re tail -f and --records-per-batch 1 (#1218) 2023-03-04 00:15:01 -05:00
John Kerl
e10a0d35ae typofix 2023-03-03 23:35:36 -05:00
John Kerl
1c5e97b93c
Fix bug on DSL comment with no final newline (#1216) 2023-03-03 21:42:10 -05:00
John Kerl
f656d88325 miller 6.7.0-dev 2023-03-01 23:03:15 -05:00
John Kerl
79265e0fce miller 6.7.0 2023-03-01 22:37:58 -05:00
John Kerl
5965d46a1f
Support more backslashed special characters in DSL strings (#1212)
* BNF mod for `\^` `\$` et al.

* go.mod go.sum

* Update DSL-build instructions

* tools/build-dsl artifacts

* Unit-test updates

* fix build error

* unit-test files
2023-03-01 01:00:25 -05:00
John Kerl
6fc33c682a
--ofmte, --ofmtf, --ofmtg (#1206) 2023-02-27 22:50:46 -05:00
John Kerl
ee0ac3d7bb
New leftpad and rightpad DSL functions (#1205)
* Initial code for `leftpad` and `rightpad` functions

* typofix, and test cases

* doc-gen

* windows UT
2023-02-26 17:14:35 -05:00
John Kerl
f3fd2c2416
Complete #1181 (#1184)
* Source impl of #1181

* Full flow for #1181
2023-01-27 22:59:14 -05:00
Stephen Kitt
33c1712a3c
Add Go LICENSE file (#1171)
The go-csv files adapted from Go refer to the Go LICENSE file; this
patch adds the file.

Signed-off-by: Stephen Kitt <steve@sk2.org>

Signed-off-by: Stephen Kitt <steve@sk2.org>
2023-01-02 18:09:39 -05:00
John Kerl
a6055ef58e post-6.6.0 2023-01-01 17:17:28 -05:00
John Kerl
b1913c296d
6.6.0 (#1169) 2023-01-01 17:12:00 -05:00
John Kerl
31fdc1c3ed
Fix #1164: regression on CSV blank-line handling (#1168)
* Fix #1164: regression on CSV blank lines

* unit-test case
2023-01-01 16:49:14 -05:00
John Kerl
b518bf0fe5
mlr unspace verb (#1167)
* mlr unspace verb

* unit tests

* unit tests

* lint
2023-01-01 16:44:06 -05:00
John Kerl
7bf358e497
Fix #1102 (#1163) 2022-12-29 14:30:47 -05:00
John Kerl
a55e78c45a
Fix #1146 (#1157)
* Fix #1146

* added a doc link

* update unit-test case
2022-12-29 13:58:50 -05:00
John Kerl
472223c609
Fix typo in mlr put documentation (#1140)
* Fix typo

* Build artifacts from previous commit
2022-12-05 14:28:51 -05:00
Jakub Wilk
636ca8873d
Fix typos (#1135)
Co-authored-by: John Kerl <kerl.john.r@gmail.com>
2022-11-30 09:27:42 -05:00
John Kerl
d1b79c5231 Post-6.5.0 2022-11-27 13:19:29 -05:00
John Kerl
2ac27714d8 Miller 6.5.0 2022-11-27 12:48:33 -05:00
John Kerl
b6846fcd0f
Convert mlrval polymorphism from struct to unionish interface (#1133)
* Convert mlrval polymorphism from struct to unionish interface: arrayval/mapval/funcval

* Convert mlrval polymorphism from struct to unionish interface:: boolval

* Convert mlrval polymorphism from struct to unionish interface:: floatval

* Convert mlrval polymorphism from struct to unionish interface:: intval
2022-11-26 20:55:21 -05:00
John Kerl
1e6ae3fd1e
More mlrval size-reduction (#1132) 2022-11-26 11:13:53 -05:00
John Kerl
6f22401d53
Exclude median from summary default (#1131) 2022-11-26 10:34:28 -05:00
John Kerl
c4f1d519ed
Use int8 for mvtype (memory reduction) (#1130)
* Use int8 for mvtype (memory reduction)

* Try to get around codespell false positives
2022-11-26 00:34:25 -05:00
John Kerl
95be06b752 make fmt 2022-11-26 00:23:12 -05:00
John Kerl
a299ce22fe forgot to set between-releases version to 6.4.0-dev after 6.4.0 2022-11-03 15:30:30 -04:00
John Kerl
39286923dc
Don't double-quote a CSV field only for having a leading space (#1101)
* Don't double-quote a CSV field only for having a leading space

* unit-test case
2022-10-03 22:40:16 -04:00
John Kerl
36d0ed7608
type-safety in exec (#1099) 2022-09-29 10:11:35 -04:00
John Kerl
f131087713
Check -- terminator on --mfrom (#1098) 2022-09-28 00:30:05 -04:00
John Kerl
63db1a9059
mlr reshape multiple regex via multiple -r (#1091) 2022-09-05 22:05:54 -04:00
John Kerl
4a53a6b278
Fix labels for mlr histogram --auto (#1089) 2022-09-03 09:55:44 -04:00
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