ref: f06d16d9edba690a5938c3a8d3863f0c817f2fad dir: /sys/src/cmd/upas/misc/mail.rc/
#!/bin/rc switch($#*){ case 0 exec upas/nedmail } switch($1){ case -f* -r* -c* -m* exec upas/nedmail $* case * exec upas/marshal -8 $* }