tAdd a utility to get the download url. - rohrpost - A commandline mail client to change the world as we see it.
(HTM) git clone git://r-36.net/rohrpost
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit f749022ff1cf0f9f926d7f835a4f59e97ac4a9c3
(DIR) parent ed7ce1828ddf82b31cc16b3cb859a8c025684870
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Wed, 23 Apr 2014 19:14:17 +0200
Add a utility to get the download url.
Diffstat:
bin/rppodurl | 8 ++++++++
1 file changed, 8 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/bin/rppodurl b/bin/rppodurl
t@@ -0,0 +1,8 @@
+#!/bin/sh
+
+url=$(rpview "$@" | awk '/Enclosure:/ {print $2}' | tr -d '\r')
+for i in $url
+do
+ printf "%s\n" "$i"
+done
+