tFix rfc 2822 reference. - 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 7a2dd30544a506d3b5f449e0dfe7d670c941d3ad
(DIR) parent 505cb66192e4bcb156af687619fce94afd3bbe84
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Sat, 20 Apr 2019 09:57:46 +0200
Fix rfc 2822 reference.
Diffstat:
bin/rpurldl | 16 ++++++++++++++++
pick.c | 2 +-
2 files changed, 17 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/bin/rpurldl b/bin/rpurldl
t@@ -0,0 +1,16 @@
+#!/bin/sh
+
+if [ -z "$DOWNLOADER" ];
+then
+ echo "You need to set \$DOWNLOADER" \
+ " for downloading the podcast."
+ exit 1
+fi
+
+url=$(rpview "$@" | awk '/URL:/ {print $2}' | tr -d '\r')
+for i in $url
+do
+ echo $i
+ $DOWNLOADER "$i"
+done
+
(DIR) diff --git a/pick.c b/pick.c
t@@ -268,7 +268,7 @@ pick_printsearchsyntax(void)
"\n"
"ARGUMENTS:\n"
"String: UTF-8 string\n"
- "Date: e.g. \"5-JUL-2010\" RFC 2811 Section 3.3\n"
+ "Date: e.g. \"5-JUL-2010\" RFC 2822 Section 3.3\n"
"Number: decimal number\n"
"Expression: an expression\n"
"Keyword: String\n"