diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2018-05-13 11:32:58 -0400 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2018-05-13 11:32:58 -0400 |
commit | affc8d2a0b056aa2355f9c1faf393680d8e9867e (patch) | |
tree | 9a728e0a992d79d91304af2d0a2d2a23e18c0d5a /test/randtest.sh | |
parent | 9ca04e641b11ac80dba4913283ebe9444e8692bb (diff) | |
parent | 215cd91db5b8e049b6fa06257fb498909f5e6684 (diff) | |
download | egawk-affc8d2a0b056aa2355f9c1faf393680d8e9867e.tar.gz egawk-affc8d2a0b056aa2355f9c1faf393680d8e9867e.tar.bz2 egawk-affc8d2a0b056aa2355f9c1faf393680d8e9867e.zip |
Merge branch 'master' into feature/fix-comments
Diffstat (limited to 'test/randtest.sh')
-rwxr-xr-x | test/randtest.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/randtest.sh b/test/randtest.sh index b17fda73..597376a8 100755 --- a/test/randtest.sh +++ b/test/randtest.sh @@ -29,9 +29,9 @@ # #!/bin/ksh -#GAWK=/bin/gawk +#AWK=/bin/gawk -# ADR: Get GAWK from the environment. +# ADR: Get AWK from the environment. # Additional note: This wants ksh/bash for the use of $RANDOM below to # seed the generator. However, shells that don't provide it won't be # a problem since gawk will then seed the generator with the time of day, @@ -40,7 +40,7 @@ # large NSAMPLES and NRUNS will bring any correlation out of the noise better NSAMPLES=1024; MAX_ALLOWED_SIGMA=5; NRUNS=50; -$GAWK 'BEGIN{ +$AWK 'BEGIN{ srand('$RANDOM'); nsamples=('$NSAMPLES'); max_allowed_sigma=('$MAX_ALLOWED_SIGMA'); |