mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-20 18:10:07 +00:00
mlr -n seqgen -> mlr seqgen doc update
This commit is contained in:
parent
88861c0591
commit
3aa550d1e8
8 changed files with 8 additions and 15 deletions
|
|
@ -89,7 +89,6 @@ static void mapper_seqgen_usage(FILE* o, char* argv0, char* verb) {
|
|||
fprintf(o, "Start, stop, and/or step may be floating-point. Output is integer if start,\n");
|
||||
fprintf(o, "stop, and step are all integers. Step may be negative. It may not be zero\n");
|
||||
fprintf(o, "unless start == stop (in which case zero records are emitted).\n");
|
||||
fprintf(o, "Most useful as '%s -n %s ... then ...'\n", MLR_GLOBALS.bargv0, verb);
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -129,8 +129,7 @@ POKI_RUN_COMMAND{{cat expo-sample.sh}}HERE
|
|||
<li/> Set the Miller random-number seed so this webdoc looks the same every time I regenerate it.
|
||||
<li/> Use pretty-printed tabular output.
|
||||
<li/> Use pretty-printed tabular output.
|
||||
<li/> Use <tt>-n</tt> so Miller won’t read any input files, and <tt>seqgen</tt> to produce 100,000
|
||||
records <tt>i=0</tt>, <tt>i=1</tt>, etc.
|
||||
<li/> Use <tt>seqgen</tt> to produce 100,000 records <tt>i=0</tt>, <tt>i=1</tt>, etc.
|
||||
<li/> Send those to a <tt>put</tt> step which defines an inverse-transform-sampling function and
|
||||
calls it twice, then computes the sum and product of samples.
|
||||
<li>/ Send those to a histogram, and from there to a bar-plotter. This is just for visualization; you
|
||||
|
|
|
|||
|
|
@ -1281,9 +1281,9 @@ POKI_RUN_COMMAND{{mlr sec2gmtdate -h}}HERE
|
|||
|
||||
POKI_RUN_COMMAND{{mlr seqgen -h}}HERE
|
||||
|
||||
POKI_RUN_COMMAND{{mlr -n seqgen --stop 10}}HERE
|
||||
POKI_RUN_COMMAND{{mlr -n seqgen --start 20 --stop 40 --step 4}}HERE
|
||||
POKI_RUN_COMMAND{{mlr -n seqgen --start 40 --stop 20 --step -4}}HERE
|
||||
POKI_RUN_COMMAND{{mlr seqgen --stop 10}}HERE
|
||||
POKI_RUN_COMMAND{{mlr seqgen --start 20 --stop 40 --step 4}}HERE
|
||||
POKI_RUN_COMMAND{{mlr seqgen --start 40 --stop 20 --step -4}}HERE
|
||||
|
||||
<!-- ================================================================ -->
|
||||
<h2>shuffle</h2>
|
||||
|
|
|
|||
|
|
@ -669,8 +669,7 @@ mlr -n \
|
|||
<li/> Set the Miller random-number seed so this webdoc looks the same every time I regenerate it.
|
||||
<li/> Use pretty-printed tabular output.
|
||||
<li/> Use pretty-printed tabular output.
|
||||
<li/> Use <tt>-n</tt> so Miller won’t read any input files, and <tt>seqgen</tt> to produce 100,000
|
||||
records <tt>i=0</tt>, <tt>i=1</tt>, etc.
|
||||
<li/> Use <tt>seqgen</tt> to produce 100,000 records <tt>i=0</tt>, <tt>i=1</tt>, etc.
|
||||
<li/> Send those to a <tt>put</tt> step which defines an inverse-transform-sampling function and
|
||||
calls it twice, then computes the sum and product of samples.
|
||||
<li>/ Send those to a histogram, and from there to a bar-plotter. This is just for visualization; you
|
||||
|
|
|
|||
|
|
@ -976,7 +976,6 @@ VERBS
|
|||
Start, stop, and/or step may be floating-point. Output is integer if start,
|
||||
stop, and step are all integers. Step may be negative. It may not be zero
|
||||
unless start == stop (in which case zero records are emitted).
|
||||
Most useful as 'mlr -n seqgen ... then ...'
|
||||
|
||||
shuffle
|
||||
Usage: mlr shuffle {no options}
|
||||
|
|
|
|||
|
|
@ -829,7 +829,6 @@ VERBS
|
|||
Start, stop, and/or step may be floating-point. Output is integer if start,
|
||||
stop, and step are all integers. Step may be negative. It may not be zero
|
||||
unless start == stop (in which case zero records are emitted).
|
||||
Most useful as 'mlr -n seqgen ... then ...'
|
||||
|
||||
shuffle
|
||||
Usage: mlr shuffle {no options}
|
||||
|
|
|
|||
|
|
@ -1102,7 +1102,6 @@ output as specified by the following options:
|
|||
Start, stop, and/or step may be floating-point. Output is integer if start,
|
||||
stop, and step are all integers. Step may be negative. It may not be zero
|
||||
unless start == stop (in which case zero records are emitted).
|
||||
Most useful as 'mlr -n seqgen ... then ...'
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
|
|
|
|||
|
|
@ -4546,7 +4546,6 @@ output as specified by the following options:
|
|||
Start, stop, and/or step may be floating-point. Output is integer if start,
|
||||
stop, and step are all integers. Step may be negative. It may not be zero
|
||||
unless start == stop (in which case zero records are emitted).
|
||||
Most useful as 'mlr -n seqgen ... then ...'
|
||||
</pre>
|
||||
</div>
|
||||
<p/>
|
||||
|
|
@ -4554,7 +4553,7 @@ Most useful as 'mlr -n seqgen ... then ...'
|
|||
<p/>
|
||||
<div class="pokipanel">
|
||||
<pre>
|
||||
$ mlr -n seqgen --stop 10
|
||||
$ mlr seqgen --stop 10
|
||||
i=0
|
||||
i=1
|
||||
i=2
|
||||
|
|
@ -4571,7 +4570,7 @@ i=9
|
|||
<p/>
|
||||
<div class="pokipanel">
|
||||
<pre>
|
||||
$ mlr -n seqgen --start 20 --stop 40 --step 4
|
||||
$ mlr seqgen --start 20 --stop 40 --step 4
|
||||
i=20
|
||||
i=24
|
||||
i=28
|
||||
|
|
@ -4583,7 +4582,7 @@ i=36
|
|||
<p/>
|
||||
<div class="pokipanel">
|
||||
<pre>
|
||||
$ mlr -n seqgen --start 40 --stop 20 --step -4
|
||||
$ mlr seqgen --start 40 --stop 20 --step -4
|
||||
i=40
|
||||
i=36
|
||||
i=32
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue