From: Silvio Rhatto Date: Tue, 15 Nov 2016 21:06:40 +0000 (-0200) Subject: Adds postponed X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=9da1c6771fd7fdb8f0bb7d2abda050e9c13674cd;p=utils-mail.git Adds postponed --- diff --git a/postponed b/postponed new file mode 100755 index 0000000..d08d281 --- /dev/null +++ b/postponed @@ -0,0 +1,13 @@ +#!/bin/bash +# +# Count number of postponed messages. +# + +# Setup +POSTPONED="$HOME/temp/mutt/postponed" +TOTAL="`grep "^From: " $POSTPONED | wc -l`" + +# Print +if [ "$TOTAL" != "0" ]; then + echo $TOTAL postponed emails. +fi