updated textereo to just use default srand
This commit is contained in:
+1
-1
@@ -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
|
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
|
getline # read the first line from the file to parse parameters
|
||||||
WIDTH = int($1) # desired width of the image to generate
|
WIDTH = int($1) # desired width of the image to generate
|
||||||
PATLEN = int($2) # generated pattern length (must be between 8 and W/2)
|
PATLEN = int($2) # generated pattern length (must be between 8 and W/2)
|
||||||
|
|||||||
Reference in New Issue
Block a user