summaryrefslogtreecommitdiff
path: root/rc/bin/bullshit
diff options
context:
space:
mode:
authoraiju <aiju@phicode.de>2011-08-12 06:43:00 +0200
committeraiju <aiju@phicode.de>2011-08-12 06:43:00 +0200
commit1421316bab6d31bfffc55c91d09135e2ec26b158 (patch)
tree45c660d186f0be2058e9546bb64b95fcde735222 /rc/bin/bullshit
parent31cf34ca81d31c9e76998da1ebea41dd819f20f9 (diff)
bullshit: fixed bug
Diffstat (limited to 'rc/bin/bullshit')
-rwxr-xr-xrc/bin/bullshit4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc/bin/bullshit b/rc/bin/bullshit
index 998d6c60c..d07ede4a4 100755
--- a/rc/bin/bullshit
+++ b/rc/bin/bullshit
@@ -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