1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/rc switch($#*){ case 0 exec upas/nedmail } switch($1){ case -f* -r* -c* -m* exec upas/nedmail $* case * exec upas/marshal $* }