#!/bin/sh if [ -n "$pgm" ]; then echo "postmsg '$pgm started'" else >&2 echo "WARNING: pgm variable not defined" fi