From ce7b19e0d953549c66394e24544dba5e669e73c9 Mon Sep 17 00:00:00 2001 From: Luxferre Date: Thu, 16 May 2024 10:15:22 +0300 Subject: [PATCH] updated textereo to just use default srand --- utils/textereo.awk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/textereo.awk b/utils/textereo.awk index 3aac96a..51b88f9 100644 --- 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)