#!/bin/sh dir=/usr/local/etc/ dbdir=/var/db echo > /tmp/proxytest for i in proxy1 proxy2 proxy3 do http_proxy=http://$i.wleiden.net:3128/ echo $i >> /tmp/proxytest wget -t 1 -T 100 -O /dev/null www.planet.nl 2>>/tmp/proxytest done awk -f $dir/awkpencontrl /tmp/proxytest | sort -r -n >$dbdir/pensequence awk '{print $2 " "}' $dbdir/pensequence | tr -d "\n"