tAllow more options to rpopen. - 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 ed7ce1828ddf82b31cc16b3cb859a8c025684870
(DIR) parent 55f065921235d487934c979864f9dfc4b250fdef
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Wed, 23 Apr 2014 19:06:41 +0200
Allow more options to rpopen.
Diffstat:
bin/rpopen | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
(DIR) diff --git a/bin/rpopen b/bin/rpopen
t@@ -13,9 +13,7 @@ then
exit 1
fi
-msgid="$*"
-
-url=$(rpview $msgid | awk '/^URL:/ {print $2}' | tr -d '\r')
+url=$(rpview "$@" | awk '/^URL:/ {print $2}' | tr -d '\r')
for i in $url
do
echo $i