#!/bin/bash LANG=C http_proxy="" COUNTER=1 while [ $COUNTER ]; do echo "= $COUNTER: ===" wget -U "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT5.1)" --input-file=nytekst -O /dev/null 2>&1 | grep saved let COUNTER=COUNTER+1 done