bingo

crappy everyday tech bingo
git clone http://git.permacomputing.net/repos/bingo.git # read-only access
Log | Files | Refs | README

mkbingoset.sh (314B)


      1 #!/usr/bin/env bash
      2 cardcount=$1
      3 cardcount=${cardcount:-10}
      4 echo "generating $cardcount unique bingo cards"
      5 for i in $( seq 1 $cardcount )
      6 do
      7     ./mkbingo.sh
      8     mv bingo.pdf bingo$i.pdf
      9 done
     10 echo "combining bingo cards"
     11 pdfjam bingo*.pdf --nup 1x2 --outfile cardset.pdf
     12 rm bingo*.pdf
     13 echo "wrote to cardset.pdf"