mlr -n seqgen -> mlr seqgen doc update

This commit is contained in:
John Kerl 2016-09-10 16:54:12 -04:00
parent 88861c0591
commit 3aa550d1e8
8 changed files with 8 additions and 15 deletions

View file

@ -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);
}
// ----------------------------------------------------------------

View file

@ -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&rsquo;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

View file

@ -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>

View file

@ -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&rsquo;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

View file

@ -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}

View file

@ -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}

View file

@ -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

View file

@ -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