Lottery tickets
Apr. 8th, 2002 03:20 pmI think I bought a lottery ticket a zillion years ago. Today I'm buying 3 just to be crazy.
The program "scramble" is something we use internally. It takes a file and reorders the lines randomly. We used to call it "unsort" but changed the name to be more accurate.
> awk -v TOP=50 'BEGIN { for ( i = 1 ; i <= TOP ; i++ ) { print i } }'|scramble |head -5|sort -n
7
31
36
44
49
> awk -v TOP=50 'BEGIN { for ( i = 1 ; i <= TOP ; i++ ) { print i } }'|scramble |head -5|sort -n
10
12
16
35
42
> awk -v TOP=50 'BEGIN { for ( i = 1 ; i <= TOP ; i++ ) { print i } }'|scramble |head -5|sort -n
5
6
20
28
30
And now the 'big money ball' numbers that I'm picking:
> awk -v TOP=36 'BEGIN { for ( i = 1 ; i <= TOP ; i++ ) { print i } }'|scramble |head -3|sort -n
8
9
24
The program "scramble" is something we use internally. It takes a file and reorders the lines randomly. We used to call it "unsort" but changed the name to be more accurate.
> awk -v TOP=50 'BEGIN { for ( i = 1 ; i <= TOP ; i++ ) { print i } }'|scramble |head -5|sort -n
7
31
36
44
49
> awk -v TOP=50 'BEGIN { for ( i = 1 ; i <= TOP ; i++ ) { print i } }'|scramble |head -5|sort -n
10
12
16
35
42
> awk -v TOP=50 'BEGIN { for ( i = 1 ; i <= TOP ; i++ ) { print i } }'|scramble |head -5|sort -n
5
6
20
28
30
And now the 'big money ball' numbers that I'm picking:
> awk -v TOP=36 'BEGIN { for ( i = 1 ; i <= TOP ; i++ ) { print i } }'|scramble |head -3|sort -n
8
9
24
no subject
Date: 2002-04-09 09:00 am (UTC)geek geek geek geek geek geek geek GEEK!
--another geek.