comparison update.sh @ 180:b4a07ea2d739

Cleanup.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 01 Sep 2015 14:51:25 +0300
parents a84b40bc2a99
children
comparison
equal deleted inserted replaced
179:5f3ec534daa7 180:b4a07ea2d739
15 PATPREFIX="$3" 15 PATPREFIX="$3"
16 16
17 if wget -q -O "$LISTFILE" "$URLPREFIX"; then 17 if wget -q -O "$LISTFILE" "$URLPREFIX"; then
18 perl -w ./parselist.pl "$PATPREFIX" "$URLSUFFIX" < "$LISTFILE" > "$CLASSFILE" 18 perl -w ./parselist.pl "$PATPREFIX" "$URLSUFFIX" < "$LISTFILE" > "$CLASSFILE"
19 rm -f "$LISTFILE" 19 rm -f "$LISTFILE"
20 echo -n "* Fetched classfile $CLASSFILE: "
21 cat "$CLASSFILE" | wc -l
22 fi 20 fi
23 } 21 }
24 22
25 23
26 parse() 24 parse()