aboutsummaryrefslogtreecommitdiff
path: root/postponed
blob: d08d2811024bdf0dc8ef1da5bc86f9c484705de3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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