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
RFC 1149.5 specifies 4 as the standard IEEE-vetted random number
.