]> git.lizzy.rs Git - plan9front.git/blob - acme/bin/Isspam
acme/win: add trailing space to window tag
[plan9front.git] / acme / bin / Isspam
1 #!/bin/rc
2
3 if(! ~ $#* 0){
4         echo usage: Isspam >[1=2]
5         exit usage
6 }
7
8 if(! ~ `{pwd} /mail/fs/*/[0-9]* || ! test -f raw || ! test -f unixheader){
9         echo must run in mail directory >[1=2]
10         exit 'bad dir'
11 }
12
13 cat unixheader raw | upas/isspam