mirror of
https://github.com/johnkerl/miller.git
synced 2026-01-22 18:06:52 +00:00
parent
5b6f64669a
commit
b8db798a2f
9 changed files with 19 additions and 16 deletions
|
|
@ -26,7 +26,7 @@ Vertical-tabular format is good for a quick look at CSV data layout -- seeing wh
|
||||||
<b>wc -l data/flins.csv</b>
|
<b>wc -l data/flins.csv</b>
|
||||||
</pre>
|
</pre>
|
||||||
<pre class="pre-non-highlight-in-pair">
|
<pre class="pre-non-highlight-in-pair">
|
||||||
36635 data/flins.csv
|
36635 data/flins.csv
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<pre class="pre-highlight-in-pair">
|
<pre class="pre-highlight-in-pair">
|
||||||
|
|
@ -227,7 +227,7 @@ Peek at the data:
|
||||||
<b>wc -l data/colored-shapes.dkvp</b>
|
<b>wc -l data/colored-shapes.dkvp</b>
|
||||||
</pre>
|
</pre>
|
||||||
<pre class="pre-non-highlight-in-pair">
|
<pre class="pre-non-highlight-in-pair">
|
||||||
10078 data/colored-shapes.dkvp
|
10078 data/colored-shapes.dkvp
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<pre class="pre-highlight-in-pair">
|
<pre class="pre-highlight-in-pair">
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,7 @@ date,qoh
|
||||||
<b>wc -l data/miss-date.csv</b>
|
<b>wc -l data/miss-date.csv</b>
|
||||||
</pre>
|
</pre>
|
||||||
<pre class="pre-non-highlight-in-pair">
|
<pre class="pre-non-highlight-in-pair">
|
||||||
1372 data/miss-date.csv
|
1372 data/miss-date.csv
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
Since there are 1372 lines in the data file, some automation is called for. To find the missing dates, you can convert the dates to seconds since the epoch using `strptime`, then compute adjacent differences (the `cat -n` simply inserts record-counters):
|
Since there are 1372 lines in the data file, some automation is called for. To find the missing dates, you can convert the dates to seconds since the epoch using `strptime`, then compute adjacent differences (the `cat -n` simply inserts record-counters):
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ This is simply a copy of what you should see on running `man mlr` at a command p
|
||||||
insertion-ordered hash map. This encompasses a variety of data
|
insertion-ordered hash map. This encompasses a variety of data
|
||||||
formats, including but not limited to the familiar CSV, TSV, and JSON.
|
formats, including but not limited to the familiar CSV, TSV, and JSON.
|
||||||
(Miller can handle positionally-indexed data as a special case.) This
|
(Miller can handle positionally-indexed data as a special case.) This
|
||||||
manpage documents mlr 6.15.0-dev.
|
manpage documents mlr 6.16.0.
|
||||||
|
|
||||||
1mEXAMPLES0m
|
1mEXAMPLES0m
|
||||||
mlr --icsv --opprint cat example.csv
|
mlr --icsv --opprint cat example.csv
|
||||||
|
|
@ -3759,5 +3759,5 @@ This is simply a copy of what you should see on running `man mlr` at a command p
|
||||||
MIME Type for Comma-Separated Values (CSV) Files, the Miller docsite
|
MIME Type for Comma-Separated Values (CSV) Files, the Miller docsite
|
||||||
https://miller.readthedocs.io
|
https://miller.readthedocs.io
|
||||||
|
|
||||||
2025-08-20 4mMILLER24m(1)
|
2026-01-02 4mMILLER24m(1)
|
||||||
</pre>
|
</pre>
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@
|
||||||
insertion-ordered hash map. This encompasses a variety of data
|
insertion-ordered hash map. This encompasses a variety of data
|
||||||
formats, including but not limited to the familiar CSV, TSV, and JSON.
|
formats, including but not limited to the familiar CSV, TSV, and JSON.
|
||||||
(Miller can handle positionally-indexed data as a special case.) This
|
(Miller can handle positionally-indexed data as a special case.) This
|
||||||
manpage documents mlr 6.15.0-dev.
|
manpage documents mlr 6.16.0.
|
||||||
|
|
||||||
1mEXAMPLES0m
|
1mEXAMPLES0m
|
||||||
mlr --icsv --opprint cat example.csv
|
mlr --icsv --opprint cat example.csv
|
||||||
|
|
@ -3738,4 +3738,4 @@
|
||||||
MIME Type for Comma-Separated Values (CSV) Files, the Miller docsite
|
MIME Type for Comma-Separated Values (CSV) Files, the Miller docsite
|
||||||
https://miller.readthedocs.io
|
https://miller.readthedocs.io
|
||||||
|
|
||||||
2025-08-20 4mMILLER24m(1)
|
2026-01-02 4mMILLER24m(1)
|
||||||
|
|
|
||||||
|
|
@ -4134,7 +4134,7 @@ There are two main ways to use `mlr uniq`: the first way is with `-g` to specify
|
||||||
<b>wc -l data/colored-shapes.csv</b>
|
<b>wc -l data/colored-shapes.csv</b>
|
||||||
</pre>
|
</pre>
|
||||||
<pre class="pre-non-highlight-in-pair">
|
<pre class="pre-non-highlight-in-pair">
|
||||||
10079 data/colored-shapes.csv
|
10079 data/colored-shapes.csv
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<pre class="pre-highlight-in-pair">
|
<pre class="pre-highlight-in-pair">
|
||||||
|
|
@ -4291,7 +4291,7 @@ color=purple,shape=square,flag=0
|
||||||
<b>wc -l data/repeats.dkvp</b>
|
<b>wc -l data/repeats.dkvp</b>
|
||||||
</pre>
|
</pre>
|
||||||
<pre class="pre-non-highlight-in-pair">
|
<pre class="pre-non-highlight-in-pair">
|
||||||
57 data/repeats.dkvp
|
57 data/repeats.dkvp
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<pre class="pre-highlight-in-pair">
|
<pre class="pre-highlight-in-pair">
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@
|
||||||
insertion-ordered hash map. This encompasses a variety of data
|
insertion-ordered hash map. This encompasses a variety of data
|
||||||
formats, including but not limited to the familiar CSV, TSV, and JSON.
|
formats, including but not limited to the familiar CSV, TSV, and JSON.
|
||||||
(Miller can handle positionally-indexed data as a special case.) This
|
(Miller can handle positionally-indexed data as a special case.) This
|
||||||
manpage documents mlr 6.15.0-dev.
|
manpage documents mlr 6.16.0.
|
||||||
|
|
||||||
1mEXAMPLES0m
|
1mEXAMPLES0m
|
||||||
mlr --icsv --opprint cat example.csv
|
mlr --icsv --opprint cat example.csv
|
||||||
|
|
@ -3738,4 +3738,4 @@
|
||||||
MIME Type for Comma-Separated Values (CSV) Files, the Miller docsite
|
MIME Type for Comma-Separated Values (CSV) Files, the Miller docsite
|
||||||
https://miller.readthedocs.io
|
https://miller.readthedocs.io
|
||||||
|
|
||||||
2025-08-20 4mMILLER24m(1)
|
2026-01-02 4mMILLER24m(1)
|
||||||
|
|
|
||||||
|
|
@ -2,12 +2,12 @@
|
||||||
.\" Title: mlr
|
.\" Title: mlr
|
||||||
.\" Author: [see the "AUTHOR" section]
|
.\" Author: [see the "AUTHOR" section]
|
||||||
.\" Generator: ./mkman.rb
|
.\" Generator: ./mkman.rb
|
||||||
.\" Date: 2025-08-20
|
.\" Date: 2026-01-02
|
||||||
.\" Manual: \ \&
|
.\" Manual: \ \&
|
||||||
.\" Source: \ \&
|
.\" Source: \ \&
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
.\"
|
.\"
|
||||||
.TH "MILLER" "1" "2025-08-20" "\ \&" "\ \&"
|
.TH "MILLER" "1" "2026-01-02" "\ \&" "\ \&"
|
||||||
.\" -----------------------------------------------------------------
|
.\" -----------------------------------------------------------------
|
||||||
.\" * Portability definitions
|
.\" * Portability definitions
|
||||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
@ -47,7 +47,7 @@ on integer-indexed fields: if the natural data structure for the latter is the
|
||||||
array, then Miller's natural data structure is the insertion-ordered hash map.
|
array, then Miller's natural data structure is the insertion-ordered hash map.
|
||||||
This encompasses a variety of data formats, including but not limited to the
|
This encompasses a variety of data formats, including but not limited to the
|
||||||
familiar CSV, TSV, and JSON. (Miller can handle positionally-indexed data as
|
familiar CSV, TSV, and JSON. (Miller can handle positionally-indexed data as
|
||||||
a special case.) This manpage documents mlr 6.15.0-dev.
|
a special case.) This manpage documents mlr 6.16.0.
|
||||||
.SH "EXAMPLES"
|
.SH "EXAMPLES"
|
||||||
.sp
|
.sp
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
Summary: Name-indexed data processing tool
|
Summary: Name-indexed data processing tool
|
||||||
Name: miller
|
Name: miller
|
||||||
Version: 6.15.0
|
Version: 6.16.0
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
Source: https://github.com/johnkerl/miller/releases/download/%{version}/miller-%{version}.tar.gz
|
Source: https://github.com/johnkerl/miller/releases/download/%{version}/miller-%{version}.tar.gz
|
||||||
|
|
@ -36,6 +36,9 @@ make install
|
||||||
%{_mandir}/man1/mlr.1*
|
%{_mandir}/man1/mlr.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 2 2026 John Kerl <kerl.john.r@gmail.com> - 6.16.0-1
|
||||||
|
- 6.16.0 release
|
||||||
|
|
||||||
* Thu Aug 14 2025 John Kerl <kerl.john.r@gmail.com> - 6.15.0-1
|
* Thu Aug 14 2025 John Kerl <kerl.john.r@gmail.com> - 6.15.0-1
|
||||||
- 6.15.0 release
|
- 6.15.0 release
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,4 +4,4 @@ package version
|
||||||
// Nominally things like "6.0.0" for a release, then "6.0.0-dev" in between.
|
// Nominally things like "6.0.0" for a release, then "6.0.0-dev" in between.
|
||||||
// This makes it clear that a given build is on the main dev branch, not a
|
// This makes it clear that a given build is on the main dev branch, not a
|
||||||
// particular snapshot tag.
|
// particular snapshot tag.
|
||||||
var STRING string = "6.15.0-dev"
|
var STRING string = "6.16.0"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue