PMbwmon bandwidth monitor: can specify which interfaces to watch, also supporting...
[hband-tools.git] / user-tools / PMpwgen
blob57ea936b6d59ad948f5739aeec73d69f9d75fc0a
1 #!/bin/bash
3 true <<EOF
4 =pod
6 =head1 NAME
8 PMpwgen - Poor man's password generator
10 =cut
12 EOF
15 n=0
17 cat /dev/urandom | \
18 tr -d -c 'A-Za-z0-9_.:;!@%-' | \
19 while read -n "${1:-8}" pass
21 let n++
22 [ $n -gt "${2:-10}" ] && break
23 echo "$pass"
24 done