Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/interpret-mail12
1 files changed, 11 insertions, 1 deletions
diff --git a/bin/interpret-mail b/bin/interpret-mail
index af63863..79abcca 100755
--- a/bin/interpret-mail
+++ b/bin/interpret-mail
@@ -96,9 +96,19 @@ sed -n '
/\n$/!ba
s/\n$//
p
-' "${tmp_dir}/plain-content" > \
+' "${tmp_dir}/plain-content" |
+ sed '
+ :a
+ /[:=]\s*$/N
+ s/:\s*\n/: /
+ ta
+ s/=\n//g
+ ta
+ ' > \
"${tmp_dir}/raw-content"
+cat "${tmp_dir}/raw-content" >&2
+
sed -n "$(
while read -r action; do
if [ -z "${action}" ]; then