]> git.lizzy.rs Git - plan9front.git/blob - acme/bin/Unspam
crop /lib/face/48x48x8/n/nixie.1 to the right size (was 512x512)
[plan9front.git] / acme / bin / Unspam
1 #!/bin/rc
2
3 if(! ~ $#* 0){
4         echo usage: Unspam >[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/unspam