index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/interpret-mail | 12 |
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 |