updated textereo to just use default srand

This commit is contained in:
Luxferre
2024-05-16 10:15:22 +03:00
parent 5b97c119a4
commit ce7b19e0d9
+1 -1
View File
@@ -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)