tAdd rpurlget. - 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 00a15e9d5939d24e627b25de50450c5a91047ed9
(DIR) parent 8b54781539a8876fb413cd7552794b7fa6b5c23e
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Sun, 15 Dec 2019 18:34:08 +0100
Add rpurlget.
Diffstat:
bin/rpurlget | 8 ++++++++
1 file changed, 8 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/bin/rpurlget b/bin/rpurlget
t@@ -0,0 +1,8 @@
+#!/bin/sh
+
+url=$(rpview "$@" | awk '/URL:/ {print $2}' | tr -d '\r')
+for i in $url
+do
+ printf "%s\n" "${i}"
+done
+