db/mkpass
author Volker Birk <vb@pep-project.org>
Sat, 09 Jul 2016 16:38:48 +0200
changeset 815 f469464b1ba9
child 817 9a609cdcf976
permissions -rwxr-xr-x
adding trustwords based make password tool mkpass
vb@815
     1
#!/bin/bash
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]+//'`