Xargs

 NETS_URL="http://provider.ru/nets.php" GW="111.113.113.114"
 * 1) !/bin/sh

wget $NETS_URL -O /tmp/nets cat /tmp/nets | awk {'print "add " $1 " netmask " $2'} | xargs --replace route {} gw $GW rm /tmp/nets 