ref: 4d340ba0c4a7eed3f42afb8689bbd95e0faf0cdc
dir: /acme/bin/Isspam/
#!/bin/rc if(! ~ $#* 0){ echo usage: Isspam >[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/isspam