Update 'rasplice2passwd.sh'

This commit is contained in:
panda 2017-03-06 15:23:37 +01:00
parent 333e5d0ec7
commit e24818dea7

View file

@ -3,9 +3,7 @@ read -p "select minimum word lenght (press ENTER for default = 11): " lenght
read -p "select number for words to integrate (press ENTER for default = 4): " words
lenght=${lenght:-11}
#echo $lenght
words=${words:-4}
#echo $words
curl -s http://rasplice.contaminati.net/sproloquio.txt | grep -e "[^\ ]\{$lenght,\}" | shuf -n $words | sed 's/^\(.\)/\U\1/' | paste -sd ""