#!/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