====== Creating alternative XMLTV station lists for Hungary and Romania ====== The PERL xmltv grabber for .hu and .ro packaged with the original xmltv distribution is rather slow and buggy so I've decided to write my own using AWK and of course bash. #!/bin/bash WGET="wget -q -O- " get_channel_list() { list=`$WGET "http://www.port.hu/pls/tv/tv.channel?i_ch=1&i_days=1&i_xday=1&i_where=1"` # echo -e "$list" | egrep -zo '' | sed echo -e "$list" | awk '\ BEGIN{a=0} \ /