function getinfo { ilosc=`cat lista | wc -w` list=$(($ilosc/2)) for (( a=1 ; a<$list ; a++ )) do info$a=`cat nfo$a | grep StreamTitle | sed -e 's/StreamTitle//g' | sed -e 's/ICY Info: =//g' | sed -e 's/;StreamUrl=/ | /g' | sed -e 's/;//g'`; done }