shithub: riscv

ref: ca8ca008f4ab7074971a35e08de9a46cb9b5d5ab
dir: /sys/src/cmd/upas/misc/go.fishing/

View raw version
#!/bin/rc
# go.fishing - set up vacation responder
rfork e

cd /mail/box/$user
if (test -e gone.fishing) {
	echo $0: /mail/box/$user/gone.fishing already exists >[1=2]
	exit 'already fishing'
}

>gone.addrs
chmod -a gone.addrs
>gone.addrs
chmod +arw gone.addrs
>>gone.fishing