Code Review
/
common
/
bash_it.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
e3011c5
)
fix typo
author
Erich Smith
<heartquest@gmail.com>
Sat, 28 Apr 2012 14:40:16 +0000
(10:40 -0400)
committer
Erich Smith
<heartquest@gmail.com>
Sat, 28 Apr 2012 14:40:16 +0000
(10:40 -0400)
plugins/available/base.plugin.bash
patch
|
blob
|
history
diff --git
a/plugins/available/base.plugin.bash
b/plugins/available/base.plugin.bash
index
441b3ff
..
0447f33
100755
(executable)
--- a/
plugins/available/base.plugin.bash
+++ b/
plugins/available/base.plugin.bash
@@
-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 $f
ile
| tail -1
}
pass ()