db/mkpass
author Krista Grothoff <krista@pep-project.org>
Thu, 09 Mar 2017 12:41:34 +0100
branchENGINE-174
changeset 1637 4078d6ed8b3b
parent 1513 e7f7e42385b5
permissions -rw-r--r--
merge from default
     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]+//'`