aboutsummaryrefslogtreecommitdiff
path: root/postponed
diff options
context:
space:
mode:
Diffstat (limited to '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