plan9fox/rc/bin/go.fishing
2011-03-30 18:29:07 +00:00

15 lines
276 B
Bash
Executable file

#!/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