shithub: riscv

ref: a7f5ecaf636e38f407c951d0e86dcc4c4f424bd6
dir: /sys/src/cmd/upas/misc/omail.rc/

View raw version
#!/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 $*
}