bullshit: fixed bug

This commit is contained in:
aiju 2011-08-12 06:43:00 +02:00
parent 31cf34ca81
commit 1421316bab

View file

@ -44,8 +44,8 @@ END {
n += 2
for(i = 0; i < n; i++)
printf "%s%s ", word[last = int(rand() * nword)], suffix()
if(rand() > 0.5 || (last >= 0 && noend[last]) || hassuffix)
printf "%s ", word[int(rand() * nend)]
if(rand() > 0.05 || (last >= 0 && noend[last]) || hassuffix)
printf "%s ", end[int(rand() * nend)]
print ""
}
' /lib/bullshit