commit 268d0f80d01b711d28f9fd52fcb033f291c3cb60 parent 85679e7fda193f1f3e376f990b114c1dce64f646 Author: Anders Damsgaard Christensen <adc@geo.au.dk> Date: Mon, 5 Dec 2016 09:35:23 -0800 fix output for forwarded emails Diffstat:
M | bitbar-plugins/mail.5s.sh | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bitbar-plugins/mail.5s.sh b/bitbar-plugins/mail.5s.sh @@ -36,7 +36,7 @@ echo $mailboxes echo "---" -from="$(cat $newmails | grep 'From: ' | sed 's/From: //')" +from="$(cat $newmails | grep -m 1 '^From: ' | sed 's/From: //')" printf "$from\n" echo "---"