2020-04-17 19:41:43 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2020-04-17 20:05:27 +00:00
|
|
|
echo ~/irclogs/tc/* | tr " " "\n" | shuf | tr "\n" " " | xargs cat | grep '>' | awk '{$1=""; $2=""; $3=""}1' | tail -n 80000 > /tmp/markylol
|
2020-04-17 19:41:43 +00:00
|
|
|
|
|
|
|
nextword(){ awk '{for (I=1;I<=NF;I++) if ($I == "'$1'") {print $(I+1)};}' /tmp/markylol | shuf -n 1 ; }
|
|
|
|
|
|
|
|
|
|
|
|
PASTWORD=$1
|
|
|
|
|
|
|
|
makesent(){ printf "$PASTWORD " ; PASTWORD=`nextword $PASTWORD | tr '"' "'"` ; [ -z "$PASTWORD" ] || makesent ; }
|
|
|
|
|
|
|
|
makesent
|
|
|
|
|
|
|
|
echo
|
|
|
|
|