#!/bin/sh ADDRESS=netdump@example.com mail -s "[netdump] client at $1 started" $ADDRESS <<_EOF A netdump client at machine $1 just started up. _EOF