On Fri, Aug 13, 2021 at 08:58:42AM +0200, Martijn van Duren wrote:
> Historically 's' presumably stood both for step and seed, but since we
> don't support seed anymore I think it's wise to make things a little
> more readable and just rename 's' to 'step'.
>
> tb@ already agrees with the concept.
>
> OK?
Yes, please! It also makes matching the manual to the code easier.
ok tb
>
> martijn@
>
> Index: jot.1
> ===
> RCS file: /cvs/src/usr.bin/jot/jot.1,v
> retrieving revision 1.23
> diff -u -p -r1.23 jot.1
> --- jot.1 12 Aug 2016 21:49:31 - 1.23
> +++ jot.1 13 Aug 2021 06:57:56 -
> @@ -45,7 +45,7 @@
> .Op Fl s Ar string
> .Op Fl w Ar word
> .Oo Ar reps Oo Ar begin Oo Ar end
> -.Oo Ar s Oc Oc Oc Oc
> +.Oo Ar step Oc Oc Oc Oc
> .Ek
> .Sh DESCRIPTION
> .Nm
> @@ -115,7 +115,7 @@ The default values for
> .Ar begin ,
> .Ar end ,
> and
> -.Ar s
> +.Ar step
> are 100, 1, 100, and 1, respectively.
> Omitted values are computed if possible or assume the default.
> A special case arises if only
> @@ -128,7 +128,7 @@ if
> is greater than
> .Ar end
> then
> -.Ar s
> +.Ar step
> is set to \(mi1, otherwise it is set to 1;
> afterwards
> .Ar reps
> @@ -149,7 +149,7 @@ Random numbers are obtained through
> Historical versions of
> .Nm
> used
> -.Ar s
> +.Ar step
> to seed the random number generator.
> This is no longer supported.
> The name
>
>