ref: d116b2d47ca4d0e5895c360f4cbcb51d6a19e0da
dir: /acme/bin/Spam/
#!/bin/rc
if(! ~ $#* 0){
echo usage: Spam >[1=2]
exit usage
}
if(! ~ `{pwd} /mail/fs/*/[0-9]* || ! test -f raw || ! test -f unixheader){
echo must run in mail directory >[1=2]
exit 'bad dir'
}
cat unixheader raw | upas/spam