[Must stop being the first one to reply to my own posts!] In message <20030825100852.GB21360 at mail.guild.uwa.edu.au> on Mon, Aug 25, 2003 at 06:08:52PM +0800, James Devenish wrote: > Does anyone know a POSIX equivalent? Seems it is as simple as: > MMSTAT="pgrep -u root mmsmtp.out" > if $MMSTAT >/dev/null 2>&1; then