#!/bin/sh # pd -- download podcast episode(s) eval curl -ZL "$(sed -n 's/^Title: \|File: //p' | sed 's/ / /g; s/\\/\\\\/g; '"s/'/\\\\'/g" | paste - - | while IFS=' ' read title file; do printf "-o '%s' '%s' " "$title.${file##*.}" "$file" done)"