diff options
author | rsc <devnull@localhost> | 2005-10-29 16:26:44 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-10-29 16:26:44 +0000 |
commit | 5cdb17983ae6e6367ad7a940cb219eab247a9304 (patch) | |
tree | 8ca1ef49af2a96e7daebe624d91fdf679814a057 /src/cmd/upas/misc/mail.sh | |
parent | cd3745196389579fb78b9b01ef1daefb5a57aa71 (diff) | |
download | plan9port-5cdb17983ae6e6367ad7a940cb219eab247a9304.tar.gz plan9port-5cdb17983ae6e6367ad7a940cb219eab247a9304.tar.bz2 plan9port-5cdb17983ae6e6367ad7a940cb219eab247a9304.zip |
Thanks to John Cummings.
Diffstat (limited to 'src/cmd/upas/misc/mail.sh')
-rw-r--r-- | src/cmd/upas/misc/mail.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/cmd/upas/misc/mail.sh b/src/cmd/upas/misc/mail.sh new file mode 100644 index 00000000..a41519ae --- /dev/null +++ b/src/cmd/upas/misc/mail.sh @@ -0,0 +1,12 @@ +#!/bin/sh +case $1 in +-n) + exec LIBDIR/notify + exit $? ;; +-m*|-f*|-r*|-p*|-e*|"") + exec LIBDIR/edmail $* + exit $? ;; +*) + exec LIBDIR/send $* + exit $? ;; +esac |