I'm studying AWK, and when I use the following command for the second time why are the numbers always the same?
First time run:
awk 'BEGIN{for(i=1;i<=10;i++) print int(101*rand())}'
24
29
85
15
59
19
81
17
48
15
Second time run:
awk 'BEGIN{for(i=1;i<=10;i++) print int(101*rand())}'
24
29
85
15
59
19
81
17
48
15
From https://www.gnu.org/software/gawk/manual/html_node/Numeric-Functions.html