blob: 9ecd9e3e89668dfa3bdbb917fb067d43ff312d68 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/sh
# See COPYING file for copyright and license details.
#
# Tries to download each page listed in a fail log (from a
# previous run of getgbook -a bookid > faillog)
test $# -ne 2 && echo "usage: $0 bookid faillog" && exit
sort < $2 | sort | shuf | head -n 5 | while read i
do
code=`echo $i|awk '{print $1}'`
echo $code | getgbook $1
done
|