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
vb@817
     1
#!/bin/sh
vb@815
     2
vb@815
     3
if [ $1/ == / ] ; then
vb@815
     4
    lang=en
vb@815
     5
else
vb@815
     6
    lang=$1
vb@815
     7
fi
vb@815
     8
vb@815
     9
trustwords.py -l $lang ` hexdump -vxn 10 /dev/random | sed -E 's/^[0-9a-z]+//'`