Created
June 16, 2015 20:41
-
-
Save bjhaid/d85917c7ca47d2c2abaf to your computer and use it in GitHub Desktop.
How to view random parts of a stream
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
awk 'BEGIN {srand()} !/^$/ { if (rand() <= .01) print $0}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment