fix typo
authorErich Smith <heartquest@gmail.com>
Sat, 28 Apr 2012 14:40:16 +0000 (10:40 -0400)
committerErich Smith <heartquest@gmail.com>
Sat, 28 Apr 2012 14:40:16 +0000 (10:40 -0400)
plugins/available/base.plugin.bash

index 441b3ff..0447f33 100755 (executable)
@@ -33,7 +33,7 @@ pickfrom ()
     [ -z "$file" ] && reference $FUNCNAME && return
     length=$(cat $file | wc -l)
     n=$(expr $RANDOM \* $length \/ 32768 + 1)
-    head -n $n $f | tail -1
+    head -n $n $file | tail -1
 }
 
 pass ()