shithub: riscv

ref: f7a296922b2616ddd5c3d753d4f0f165a2ea5215
dir: /acme/bin/Spam/

View raw version
#!/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