Shell script help

view story

http://www.unix.com – Greetings! please help on this.. i do not think the value of i is getting passed to the index(i).html section, as there is no output written into cloud file.. am i doing it wrong? Quote: #!/bin/bash i=1 while((i <=10)) do echo $i wget -q -U "Mozilla/5.0 (Windows NT 6.1; rv:15.0) Gecko/20120716 Firefox/15.0a2" -O - "http://www.example.in/yci-ler-27/index(i).html" | grep -o '<a href="http[^"]*"'| grep -i '/yci-ler-27/'| grep -iw 'cloud'|sed 's/<a href="//;s/"$//' >> cloud sleep 5 i=`expr $i (HowTos)