summaryrefslogtreecommitdiff
path: root/pc
diff options
context:
space:
mode:
Diffstat (limited to 'pc')
-rwxr-xr-xpc2
1 files changed, 1 insertions, 1 deletions
diff --git a/pc b/pc
index 9d0c4dd..4cc57a3 100755
--- a/pc
+++ b/pc
@@ -4,7 +4,7 @@
curl -Ls "$@" |
sed -n '/<item>/,$p' |
-sed -e '/^$/d' -e 's/^[ ]*//' |
+sed '/^$/d; s/^[ ]*//' |
awk -vFS='[<>]' -vOFS=' ' '
/<pubDate>/ { date = $3 }
/<itunes:duration>/ { duration = $3 }