Created
November 11, 2014 22:13
-
-
Save marklit/73cd097f5638953f2631 to your computer and use it in GitHub Desktop.
Generate messages with serial ids
This file contains 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
# From: http://www.reddit.com/r/Python/comments/2lzry9/most_efficient_way_to_generate_random_dataevents/clzoj3t | |
head -c <large number> /dev/zero ¦ tr '\0' '\n' ¦ cat -n ¦ xargs -L1 printf 'This is message number %s\n' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment