This website requires JavaScript.
Explore
Help
Sign In
midfavila
/
awk
Watch
1
Star
0
Fork
You've already forked awk
0
Code
Issues
Pull Requests
Projects
Releases
1
Wiki
Activity
292d39f7b7
awk
/
testdir
/
p.48b
6 lines
85 B
Plaintext
Raw
Blame
History
BEGIN { k = 3; n = 10 }
{ if (n <= 0) exit
if (rand() <= k/n) { print; k-- }
n--
}
Reference in New Issue
View Git Blame
Copy Permalink