ref: 8417787f994891759273865919b34b5a2e6e8735
dir: /sys/src/cmd/upas/misc/omail.rc/
#!/bin/rc switch($#*){ case 0 exec upas/edmail -m } switch($1){ case -F* -m* -f* -r* -p* -e* -c* -D* exec upas/edmail -m $* case '-#'* -a* exec upas/sendmail $* case * exec upas/sendmail $* }