commit d5f306ec0a06ef7d136955ff2d6d1e0df71ee789
parent 9b3ce4c1bea1f89ca5a15450461e7342d3f6a4f0
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 25 Apr 2019 10:14:54 +0200
Do not add newline twice for Cc
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.mutt/muttprint-groff.sh b/.mutt/muttprint-groff.sh
@@ -40,7 +40,7 @@ mail_subject="$(grep '^Subject: ' "$infile")"
printf ".LP\n";
grep -v "^Date:\|^From:\|^To:\|^Subject:\|^Cc:\|^X-Mailer:\|^User-Agent:" "$infile" | \
sed 's/^>//;s/^ //' | cat --squeeze-blank | \
- sed 's/\(Fra\|Dato\|Til\|Cc\|Emne\): /\n\1: /g' | \
+ sed 's/\(Fra\|Dato\|Til\|Emne\): /\n\1: /g' | \
sed 's/\(From\|Date\|To\|Cc\|Subject\): /\n\1: /g' | \
sed '/^Links:$/Q';
} \