summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrc/bin/bullshit6
1 files changed, 5 insertions, 1 deletions
diff --git a/rc/bin/bullshit b/rc/bin/bullshit
index e55f394bb..a84940b5d 100755
--- a/rc/bin/bullshit
+++ b/rc/bin/bullshit
@@ -1,4 +1,8 @@
#!/bin/rc
+if(~ $#1 0)
+ file=/lib/bullshit
+if not
+ file=$1
awk '
function min(a, b){
if(a > b)
@@ -48,4 +52,4 @@ END {
printf "%s ", end[int(rand() * nend)]
print ""
}
-' /lib/bullshit
+' $file