db/mkpass
author Volker Birk <vb@pep.foundation>
Tue, 27 Dec 2016 21:13:41 +0100
changeset 1513 e7f7e42385b5
parent 818 45c3c2836b67
permissions -rw-r--r--
adding license info to each file
     1 #!/bin/sh
     2 
     3 # This file is under GNU General Public License 3.0
     4 # see LICENSE.txt
     5 
     6 
     7 if [ $1/ == / ] ; then
     8     lang=en
     9 else
    10     if [ $1/ == -h/ -o $2/ != / ] ; then
    11         echo usage: $0 [ISO 639 language code]
    12         exit 0
    13     fi
    14     lang=$1
    15 fi
    16 
    17 trustwords.py -l $lang ` hexdump -vxn 10 /dev/random | sed -E 's/^[0-9a-z]+//'`