#!/bin/bash 

BASEDIR=”/mnt/usb0/mp3/podCast” 
FEEDS=”${BASEDIR}/feeds.lst” 

while read URL ; do 
   while read LINE; do 
      echo $LINE|sed -n ’s/.*<link>\([^<]*\)<\/link<.*/\1/p’ 
   done < <(wget -q -O - $URL) 
done < <(grep -v -e '^[;#]' -e '^$' $FEEDS) 



