commit 76779d98f45ccb5273322738fe7debe7dca1385e
parent 78c21a3a161c932a93a7cee5749937d275d30bc5
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Tue, 5 Jul 2022 18:45:37 +0200
fix typos
found by:
$ codespell --ignore-regex Nd
Diffstat:
4 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/randcounts.1 b/randcounts.1
@@ -25,7 +25,7 @@ The number of weights determine the number of bins to put the points into.
The sum of weights must equal 1.0.
The binning is performed using a pseudo-random number generator, seeded
from current time of day with microsecond resolution.
-Invokations of
+Invocations of
.Nm
within the same microsecond will produce the same result.
.Pp
@@ -57,7 +57,7 @@ By default, the output is printed with 17 digits of precision, which is
full double precision on 64-bit systems.
.It Fl s Ar seed
Seed the pseudo-random number generator with this value, which is used
-to generate reproducable binning.
+to generate reproducible binning.
.El
.Sh EXAMPLES
Put one point in four bins with equal probability (25%).
diff --git a/randnum.1 b/randnum.1
@@ -35,7 +35,7 @@ are negative, they must be prefixed with the '--' option.
.Pp
The number values are drawn from a pseudo-random number generator,
seeded from current time of day with microsecond resolution.
-Invokations of
+Invocations of
.Nm
within the same microsecond will produce the same result.
.Pp
@@ -57,7 +57,7 @@ By default, the output is printed with 17 digits of precision, which is
full double precision on 64-bit systems.
.It Fl s Ar seed
Seed the pseudo-random number generator with this value, which is used
-to generate reproducable binning.
+to generate reproducible binning.
.El
.Sh EXAMPLES
Generate a single value in the default range [0;1[.
@@ -66,7 +66,7 @@ Due to the randomness, your output may differ:
.Dl 0.38385568287140259
.Pp
Generate five points in the range [-10;10[ and print with three
-significant digits seperated by spaces:
+significant digits separated by spaces:
.Dl $ randnum -N 5 -p 3 -d ' ' -- -10 10
.Dl -5.52 -5.5 -3.88 3.49 -3.11
.Sh SEE ALSO
diff --git a/rangetest.1 b/rangetest.1
@@ -14,7 +14,7 @@
performs a binary search to test the exit status from a child program
invoked with
.Ar cmd ,
-where the first occurance of a string @VAL@ is substituted for
+where the first occurence of a string @VAL@ is substituted for
floating-point values in the search range from
.Ar min_val
to
@@ -22,12 +22,12 @@ to
The search range is iteratively narrowed down to find a close
approximation of the threshold value where the
.Ar cmd
-transitions between succes to failure, as judged by the child program
+transitions between success to failure, as judged by the child program
exit status.
.Pp
The behavior of
.Ar cmd
-should transition once between succes and failure in the range of
+should transition once between success and failure in the range of
.Ar min_val
and
.Ar max_val .
@@ -43,7 +43,7 @@ The parameter values of successful runs are printed to stdout, while
values of failed runs are printed to stderr.
The output of
.Ar cmd
-is also shown, unless it is surpressed by redirecting its output
+is also shown, unless it is suppressed by redirecting its output
with ">/dev/null 2>&1".
.Sh EXAMPLES
Given an example program "condfail", which always fails when its first
@@ -76,7 +76,7 @@ Find the minimum acceptable length
.Op Fl L
for the program
.Xr cngf-pf 1 ,
-while surpressing its output:
+while suppressing its output:
.Dl $ ./rangetest 'cngf-pf -L @VAL@ -d 0.1 >/dev/null 2>&1' -2e-1 2e-1 2>/dev/null
.Dl 0.2
.Dl 0.15
diff --git a/transpose.1 b/transpose.1
@@ -10,8 +10,8 @@
.Nm
flips the rows and columns of a matrix given by standard input,
effectively transposing it around the diagonal axis.
-This means that an input file with N colums and M rows is output
-as M colums and N rows.
+This means that an input file with N columns and M rows is output
+as M columns and N rows.
Input fields must be tab-separated and each line must contain the
same number of fields.
.Sh EXAMPLES