Changes
- csvtk v0.38.0
csvtk:- correct help text, documentation examples, and spelling.
- added a new flag
--quote-allto quote all output fields, even when not necessary. #297
- new commands:
csvtk filter/filter2/mutate2/mutate3/sort/summary/round:- fix wrongly converting
.to the number zero. #359
- fix wrongly converting
csvtk cut:- support
-Z/--show-row-number. #360 - if there's only one input file, it will be directly outputted.
- support
csvtk corr:- write correlations to stdout or
-oby default; with--pass, keep forwarding input to output and writing correlations to stderr. #370
- write correlations to stdout or
csvtk sort:- support sorting by Unicode text length with
-k field:land reverse order with-k field:lr. #357
- support sorting by Unicode text length with
csvtk concat:- add
--original-fileto append each row's input filename. #369
- add
csvtk unfold:- support unfolding multiple fields in parallel. #363
csvtk fold:csvtk mutate2:- fix the function
lenfor Unicode strings. #368
- fix the function
csvtk join/freq/inter/uniq/summary/fold/spread/replace:- fix rare collisions between multi-column keys, when a field contains
_shenwei356_.
- fix rare collisions between multi-column keys, when a field contains
csvtk join:- fix
-nfor empty fields in multi-column keys and retain unmatched rows in left and outer joins. - retain columns from header-only input files in outer joins. #266
- fix
csvtk uniq:- add
-d/--repeatedto print one record per repeated key and-u/--uniqueto print records whose keys occur exactly once. #133 - use
--delimiterinstead of-dto set the input delimiter for this command.
- add
csvtk freq:- make
-iignore case.
- make
csvtk summary:- add
-n/--namesto rename summary columns. #273 - preserve input row positions for
argminandargmaxwhen used with quantiles.
- add
csvtk split:- add
-n/--nlinesto split input into chunks containing up to N records, and-c/--nchunksto distribute records among N chunks in a round-robin manner. An input header row is repeated in every chunk. #122 - encode key values in output filenames to prevent collisions and invalid paths.
- add
csvtk splitxlsx:- generate distinct, valid sheet names for keys that produce the same name.
Notes
- please open an issue to request binaries for other platforms.
- run
csvtk versionto check update !!! - run
csvtk genautocompleteto update shell autocompletion script !!!