raw
lam-par-genesis         1 #!/bin/bash
lam-par-genesis 2
lam-par-genesis 3 if [ $# -lt 2 ]
lam-par-genesis 4 then
lam-par-genesis 5 echo "Usage: ./`basename $0` PAYLOADBITS STRENGTHBITS"
lam-par-genesis 6 exit 1
lam-par-genesis 7 fi
lam-par-genesis 8
lam-par-genesis 9 for i in $(seq 1 $(($1 * 2))) ; do
lam-par-genesis 10 echo `od -N $(($2 / 8)) -An -t x1 /dev/random | tr -d " \n"` ;
lam-par-genesis 11 done | xargs -n 2