Created
April 29, 2012 09:49
-
-
Save benhosmer/2549087 to your computer and use it in GitHub Desktop.
A BASH script to generate 100 random numbers using the Quantum Random Number Generator, and write them to a file.
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
#!/bin/bash | |
# This script requires the Quantum Random library https://github.com/lmacken/quantumrandom | |
# Use pip: pip install quantumrandom http://pypi.python.org/pypi/quantumrandom | |
for i in {1..100}; | |
do qrandom --int --max 1 --min 1000 >> 100-numbers.txt; | |
done; | |
echo "Complete!"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment