9 lines
No EOL
418 B
Bash
9 lines
No EOL
418 B
Bash
echo "Rasplice to Password hyperconverged-cloud enabled integration tool"
|
|
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}
|
|
|
|
words=${words:-4}
|
|
|
|
curl -s http://rasplice.contaminati.net/sproloquio.txt | grep -e "[^\ ]\{$lenght,\}" | shuf -n $words | sed 's/^\(.\)/\U\1/' | paste -sd "" |