aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-11-15 19:06:40 -0200
committerSilvio Rhatto <rhatto@riseup.net>2016-11-15 19:06:40 -0200
commit9da1c6771fd7fdb8f0bb7d2abda050e9c13674cd (patch)
tree438da7f0d47413baed8a25907360d3239df268ac
parentb0a7b9719d2c9e0cfe94b6026c82ac07a34e20cc (diff)
downloadutils-mail-9da1c6771fd7fdb8f0bb7d2abda050e9c13674cd.tar.gz
utils-mail-9da1c6771fd7fdb8f0bb7d2abda050e9c13674cd.tar.bz2
Adds postponed
-rwxr-xr-xpostponed13
1 files changed, 13 insertions, 0 deletions
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