lam-par-genesis 1 #!/bin/bash
lam-par-genesis 2
lam-par-genesis 3 if [ $# -lt 1 ]
lam-par-genesis 4 then
lam-par-genesis 5 echo "Usage: ./`basename $0` HASHUTIL < PRIVKEY.TXT > PUBKEY.TXT"
lam-par-genesis 6 exit 1
lam-par-genesis 7 fi
lam-par-genesis 8
lam-par-genesis 9 for x in $(cat) ; do
lam-par-genesis 10 echo -n $x | xxd -r -p | $1 | cut -d ' ' -f1 ;
lam-par-genesis 11 done | xargs -n 2