ref: 4573bb5550de7917d8fc6276a3650a3d2dfedff0
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