From: Einar Jørgen Haraldseid Date: Sun, 1 Jun 2014 21:59:32 +0000 (+0200) Subject: Fixed silly typo in comment X-Git-Url: https://git.slaskete.net/einar-bin/commitdiff_plain/1da8660c5029196025e7e91dd1d0c3fb5580da8b?ds=inline Fixed silly typo in comment --- diff --git a/imgurgame.bash b/imgurgame.bash index d1f9fdd..88af620 100755 --- a/imgurgame.bash +++ b/imgurgame.bash @@ -5,7 +5,7 @@ readonly BROWSER="google-chrome" # Create a random imgur url that may or may not be valid imgururl() { - # 1/3% chance for length of 5, 6 or 7 length string + # 1/3 chance for length of 5, 6 or 7 length string STRLN=$((5 + ${RANDOM} % 3)) local ID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w ${STRLN} | head -n 1) echo "http://i.imgur.com/${ID}.jpg"