plan9fox/rc/bin/mail
cinap_lenrek 87ab441ab4 upas: handle Bcc: header
when -8 flag is given, upas/marshal override To:, Cc: and Bcc: headers.
add -B option for Bcc. it is also now valid to pass recipient list
on upas/marshal arguments and have -8 flag set. make nedmail and
/rc/bin/mail call upas/marshal with -8 now to make it effective.
2012-11-27 21:10:55 +01:00

13 lines
141 B
Bash
Executable file

#!/bin/rc
switch($#*){
case 0
exec upas/nedmail
}
switch($1){
case -f* -r* -c* -m*
exec upas/nedmail $*
case *
exec upas/marshal -8 $*
}