## -*-sh-*- ## ## Shell definitions for newsgate NEWS=/usr/lib/news QMAIL=/var/qmail PATH=$NEWS/bin:$QMAIL/bin:$HOME/bin:$PATH export PATH bad () { echo >&2 "newsgate: fatal: $*"; exit 100; } fail () { echo >&2 "newsgate: $*"; exit 111; } control () { if [ -r $QMAIL/control/$1 ]; then cat $QMAIL/control/$1 elif [ "${2+yes}" ]; then echo "$2" else bad "control $1 not found" fi } me=$(control me)