# HG changeset patch # User wenzelm # Date 1026208546 -7200 # Node ID 70a5d5fc081a4dad5c70aecb7a79b920a7e9b33d # Parent 2c6ee189ae63e2b433f4ced370604541ed436c55 tuned; diff -r 2c6ee189ae63 -r 70a5d5fc081a Admin/pmail --- a/Admin/pmail Tue Jul 09 11:46:36 2002 +0200 +++ b/Admin/pmail Tue Jul 09 11:55:46 2002 +0200 @@ -31,19 +31,19 @@ [ "$1" = "-?" ] && usage [ "$#" != "3" ] && usage -SUBJECT=$1 -TO=$2 -BODY=$3 +SUBJECT="$1" +TO="$2" +BODY="$3" -[ -r $BODY ] || fail "could not read $BODY" +[ -r "$BODY" ] || fail "could not read $BODY" case `uname` in - Linux*) - mail -s "$SUBJECT" $TO <$BODY + linux*|Linux*) + mail -s "$SUBJECT" "$TO" < "$BODY" ;; SunOS*) - mail -t $TO <