rohrpost

A commandline mail client to change the world as we see it.
git clone git://r-36.net/rohrpost
Log | Files | Refs | README | LICENSE

rppoddl (240B)


      1 #!/bin/sh
      2 
      3 if [ -z "$DOWNLOADER" ];
      4 then
      5 	echo "You need to set \$DOWNLOADER" \
      6 		" for downloading the podcast."
      7 	exit 1
      8 fi
      9 
     10 url=$(rpview "$@" | awk '/Enclosure:/ {print $2}' | tr -d '\r')
     11 for i in $url
     12 do
     13 	echo $i
     14 	$DOWNLOADER "$i"
     15 done
     16