mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-17 16:38:54 +00:00
Add long-over --md flag (#2100)
This commit is contained in:
parent
f178f9ee3d
commit
809d312bd4
8 changed files with 100 additions and 15 deletions
|
|
@ -425,6 +425,8 @@
|
|||
--iyaml Use YAML format for input data.
|
||||
--json or -j or --j2j Use JSON format for input and output data.
|
||||
--jsonl or --l2l Use JSON Lines format for input and output data.
|
||||
--md or --markdown Use markdown-tabular format for input and output
|
||||
data.
|
||||
--nidx or --n2n Use NIDX format for input and output data.
|
||||
--oasv or --oasvlite Use ASV format for output data.
|
||||
--ocsv Use CSV format for output data.
|
||||
|
|
@ -547,6 +549,10 @@
|
|||
1mMARKDOWN-ONLY FLAGS0m
|
||||
These are flags which are applicable to markdown-tabular format.
|
||||
|
||||
--md-aligned or --markdown-aligned
|
||||
Use markdown-tabular format for input and output
|
||||
data, with left-justified and padded columns. Implies
|
||||
--md, so you do not need to also pass --md.
|
||||
--omd-aligned or --omarkdown-aligned
|
||||
For markdown-tabular output, left-justify cells and
|
||||
pad each column to a uniform width, making the raw
|
||||
|
|
@ -1359,6 +1365,8 @@
|
|||
Options:
|
||||
-g {a,b,c} Optional group-by-field names for head counts, e.g. a,b,c.
|
||||
-n {n} Head-count to print. Default 10.
|
||||
A negative count, e.g. -n -2, passes through all but the last n records,
|
||||
optionally by category.
|
||||
-h|--help Show this message.
|
||||
|
||||
1mhistogram0m
|
||||
|
|
@ -2204,8 +2212,11 @@
|
|||
Usage: mlr tail [options]
|
||||
Passes through the last n records, optionally by category.
|
||||
Options:
|
||||
-g {a,b,c} Optional group-by-field names for head counts, e.g. a,b,c.
|
||||
-n {n} Head-count to print. Default 10.
|
||||
-g {a,b,c} Optional group-by-field names for tail counts, e.g. a,b,c.
|
||||
-n {n} Tail-count to print. Default 10.
|
||||
A leading '+' means start at the nth record rather than print
|
||||
the last n: e.g. -n +3 passes through all but the first 2
|
||||
records, optionally by category.
|
||||
-h|--help Show this message.
|
||||
|
||||
1mtee0m
|
||||
|
|
@ -3831,4 +3842,4 @@
|
|||
MIME Type for Comma-Separated Values (CSV) Files, the Miller docsite
|
||||
https://miller.readthedocs.io
|
||||
|
||||
2026-06-19 4mMILLER24m(1)
|
||||
2026-06-24 4mMILLER24m(1)
|
||||
|
|
|
|||
19
man/mlr.1
19
man/mlr.1
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: mlr
|
||||
.\" Author: [see the "AUTHOR" section]
|
||||
.\" Generator: ./mkman.rb
|
||||
.\" Date: 2026-06-19
|
||||
.\" Date: 2026-06-24
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "MILLER" "1" "2026-06-19" "\ \&" "\ \&"
|
||||
.TH "MILLER" "1" "2026-06-24" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Portability definitions
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
|
@ -513,6 +513,8 @@ are overridden in all cases by setting output format to `format2`.
|
|||
--iyaml Use YAML format for input data.
|
||||
--json or -j or --j2j Use JSON format for input and output data.
|
||||
--jsonl or --l2l Use JSON Lines format for input and output data.
|
||||
--md or --markdown Use markdown-tabular format for input and output
|
||||
data.
|
||||
--nidx or --n2n Use NIDX format for input and output data.
|
||||
--oasv or --oasvlite Use ASV format for output data.
|
||||
--ocsv Use CSV format for output data.
|
||||
|
|
@ -675,6 +677,10 @@ They are accepted as no-op flags in order to keep old scripts from breaking.
|
|||
.nf
|
||||
These are flags which are applicable to markdown-tabular format.
|
||||
|
||||
--md-aligned or --markdown-aligned
|
||||
Use markdown-tabular format for input and output
|
||||
data, with left-justified and padded columns. Implies
|
||||
--md, so you do not need to also pass --md.
|
||||
--omd-aligned or --omarkdown-aligned
|
||||
For markdown-tabular output, left-justify cells and
|
||||
pad each column to a uniform width, making the raw
|
||||
|
|
@ -1697,6 +1703,8 @@ Without -g, ceases consuming more input (i.e. is fast) when n records have been
|
|||
Options:
|
||||
-g {a,b,c} Optional group-by-field names for head counts, e.g. a,b,c.
|
||||
-n {n} Head-count to print. Default 10.
|
||||
A negative count, e.g. -n -2, passes through all but the last n records,
|
||||
optionally by category.
|
||||
-h|--help Show this message.
|
||||
.fi
|
||||
.if n \{\
|
||||
|
|
@ -2764,8 +2772,11 @@ Options:
|
|||
Usage: mlr tail [options]
|
||||
Passes through the last n records, optionally by category.
|
||||
Options:
|
||||
-g {a,b,c} Optional group-by-field names for head counts, e.g. a,b,c.
|
||||
-n {n} Head-count to print. Default 10.
|
||||
-g {a,b,c} Optional group-by-field names for tail counts, e.g. a,b,c.
|
||||
-n {n} Tail-count to print. Default 10.
|
||||
A leading '+' means start at the nth record rather than print
|
||||
the last n: e.g. -n +3 passes through all but the first 2
|
||||
records, optionally by category.
|
||||
-h|--help Show this message.
|
||||
.fi
|
||||
.if n \{\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue