awk-gold-collection

My best software created for POSIX AWK
git clone git://git.luxferre.top/awk-gold-collection.git
Log | Files | Refs | Submodules | README

commit ce7b19e0d953549c66394e24544dba5e669e73c9
parent 5b97c119a45afa7091d2c6d1146bf8d9a83ed3f6
Author: Luxferre <lux@ferre>
Date:   Thu, 16 May 2024 10:15:22 +0300

updated textereo to just use default srand

Diffstat:
Mutils/textereo.awk | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/textereo.awk b/utils/textereo.awk @@ -18,7 +18,7 @@ function ichar(str, pos, c) { # insert a character c into str at position pos } BEGIN { # we use 95-character subset from ASCII by default - "date +%N"|getline rseed;srand(rseed) # init the PRNG + srand() # init the PRNG getline # read the first line from the file to parse parameters WIDTH = int($1) # desired width of the image to generate PATLEN = int($2) # generated pattern length (must be between 8 and W/2)