db/mkpass
author Volker Birk <vb@pep-project.org>
Sat, 09 Jul 2016 16:40:50 +0200
changeset 817 9a609cdcf976
parent 815 f469464b1ba9
child 818 45c3c2836b67
permissions -rwxr-xr-x
/bin/sh is enough
     1 #!/bin/sh
     2 
     3 if [ $1/ == / ] ; then
     4     lang=en
     5 else
     6     lang=$1
     7 fi
     8 
     9 trustwords.py -l $lang ` hexdump -vxn 10 /dev/random | sed -E 's/^[0-9a-z]+//'`