Skip to content

Instantly share code, notes, and snippets.

@slumos
Created November 18, 2009 01:16
Show Gist options
  • Select an option

  • Save slumos/237464 to your computer and use it in GitHub Desktop.

Select an option

Save slumos/237464 to your computer and use it in GitHub Desktop.
#! /bin/zsh
function usage {
print "$0:r max [min]" 1>&2
}
max=$1
min=${2:-1}
if [ -z $max ]; then
usage
exit 1
fi
curl -s "http://www.random.org/sequences/?min=${min}&max=${max}&col=1&format=plain&md=new"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment