pull/116/head
Erich Smith 2012-04-28 10:40:16 -04:00
parent e3011c5ead
commit 2086a053df
1 changed files with 1 additions and 1 deletions

View File

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