10 #$EXEC/seeder doc/sofi.jpg 7001
12 for i in `seq 1 $PEERCOUNT`; do
13 ( $EXEC/leecher 282a863d5567695161721686a59f0c667250a35d \
14 $STORE/sofi$i.jpg 7001 710$i > $STORE/leecher$i.log ) &
25 for i in `seq 1 $PEERCOUNT`; do
26 cat $STORE/leecher$i.log | grep sent | awk '{print $5}' | \
27 sort | uniq -c > $STORE/peers$i.txt
28 peers=`wc -l < $STORE/peers$i.txt`
29 if [ $peers -ne $PEERCOUNT ]; then
30 echo Peer $i has $peers peers