#!/bin/sh if [ ! -z "`receive -l 2>/dev/null`" ]; then echo echo 'You have files in your spool directory. Type "receive"' echo fi