aboutsummaryrefslogtreecommitdiff
path: root/bin/rndl.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-2/+6
| | | | Mostly inspired by suggestions from gawk --lint
* Coerce seed to numberTom Ryder2017-07-021-1/+1
|
* Correct srand() arg countTom Ryder2017-07-011-1/+4
|
* Reimplement rndl(1df) in AwkTom Ryder2017-07-011-0/+29
Removes the need for the temporary file. Also refactor pks(6df) to accommodate it.