View Single Post
Old 2004-08-10, 12:58 AM   #15
raymor
The only guys who wear Hawaiian shirts are gay guys and big fat party animals
 
Join Date: Jan 2004
Posts: 178
Send a message via ICQ to raymor
rather than dumping the whole file as
arguments to a for loop like this:
for line in `cat $filename`
It would be better to wkeep the while loop:
while read servername
and redirect the standard input of the script when you call it:
thescript.sh <domainlist.txt
__________________
Ray Morris
support@bettercgi.com
Strongbox/Throttlebox & more
TXDPS #A14012
raymor is offline   Reply With Quote