get-random-ad.sh - tgtimes - The Gopher Times HTML git clone git://bitreich.org/tgtimes git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/tgtimes DIR Log DIR Files DIR Refs DIR Tags DIR README --- get-random-ad.sh (215B) --- 1 #!/bin/sh 2 3 source ./opus 4 5 cd opus${v} 6 adfilename="$(($RANDOM % 8 + 2))-advertisement-$RANDOM.raw" 7 curl -s gophers://bitreich.org/0/ads/random \ 8 > $adfilename 9 printf "opus%s/%s generated.\n" "${v}" "${adfilename}" 10