dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 9b3ce4c1bea1f89ca5a15450461e7342d3f6a4f0
parent d7bcdbdec41235c1c58c02ddbe750d3656b83e08
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu, 25 Apr 2019 10:13:14 +0200

Hide User-Agent line in printed output

Diffstat:
M.mutt/muttprint-groff.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.mutt/muttprint-groff.sh b/.mutt/muttprint-groff.sh @@ -38,7 +38,7 @@ mail_subject="$(grep '^Subject: ' "$infile")" printf ".AU\n%s\n" "$mail_cc"; printf ".AI\n%s\n" "$mail_date"; printf ".LP\n"; - grep -v "^Date: \|^From: \|^To: \|^Subject: \|^Cc:\|^X-Mailer: " "$infile" | \ + 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/\(From\|Date\|To\|Cc\|Subject\): /\n\1: /g' | \