db/mkpass
author Krista Grothoff <krista@pep-project.org>
Mon, 24 Oct 2016 14:35:42 +0200
branchENGINE-128
changeset 1325 5f2e643a4fd7
parent 818 45c3c2836b67
child 1513 e7f7e42385b5
permissions -rwxr-xr-x
ENGINE-128: MIME_encrypt/decrypt convenience functions almost up and running/tested! Need to fix bug in default first.
     1 #!/bin/sh
     2 
     3 if [ $1/ == / ] ; then
     4     lang=en
     5 else
     6     if [ $1/ == -h/ -o $2/ != / ] ; then
     7         echo usage: $0 [ISO 639 language code]
     8         exit 0
     9     fi
    10     lang=$1
    11 fi
    12 
    13 trustwords.py -l $lang ` hexdump -vxn 10 /dev/random | sed -E 's/^[0-9a-z]+//'`