aboutsummaryrefslogtreecommitdiff
path: root/games/pks.awk
Commit message (Collapse)AuthorAgeFilesLines
* Work around mawk's srand() behaviourTom Ryder2017-07-031-1/+4
| | | | | | | Specific values for these tasks get chosen way more often than other in mawk, and it seems to be caused by the random seed being above a certain value. Not sure if it's a bug or how it interacts with the POSIX standard, but this seems to fix it.
* Lots of cleanup of awk scriptsTom Ryder2017-07-021-1/+3
| | | | Mostly inspired by suggestions from gawk --lint
* Coerce seed to numberTom Ryder2017-07-021-1/+1
|
* Remove POSIX char classes from AwkTom Ryder2017-07-021-2/+2
| | | | | I forgot that Debian's awk(1) is still a mawk that doesn't implement e.g. [:alpha:]
* Break pks(6df) and philsay(6df) in twoTom Ryder2017-07-021-74/+6
| | | | | Looks like awk(1) implementations vary in how they interpret option arguments.
* Very important addenda to pks(6df)Tom Ryder2017-07-021-3/+72
|
* Fix typoTom Ryder2017-07-011-1/+1
|
* Correct srand() arg countTom Ryder2017-07-011-1/+4
|
* Reimplement rndl(1df) in AwkTom Ryder2017-07-011-5/+5
| | | | | Removes the need for the temporary file. Also refactor pks(6df) to accommodate it.
* Better implementation of pks(6df)Tom Ryder2017-07-011-56/+19
| | | | Needs a lot of random numbers, but only one pass
* First attempt at pks(6df)Tom Ryder2017-07-011-0/+81
I've got a better idea, though