ref: 5a51e900dd113a1a5f2d2a0e8bac067fbc7da3ae
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