rohrpost

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

commit f749022ff1cf0f9f926d7f835a4f59e97ac4a9c3
parent ed7ce1828ddf82b31cc16b3cb859a8c025684870
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(-)

diff --git a/bin/rppodurl b/bin/rppodurl @@ -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 +