This is what we use, for what it's worth. [rsc] --rw-rw-r-- M 191333 glenda sys 4409 Sep 22 13:30 sys/lib/dist/mkfile /n/sourcesdump/2005/0922/plan9/sys/lib/dist/mkfile:109,114 - /n/sourcesdump/2005/0923/plan9/sys/lib/dist/mkfile:109,115 dd=$"date mail -s 'nightly build differences '^$dd 9trouble /sys/lib/dist/writable + if(test -s /sys/lib/dist/writable){ + dd=`{date} + dd=$"date + mail -s 'non-group-writable files on sources'^$dd 9trouble /sys/lib/dist/writable + if(test -s /sys/lib/dist/writable){ + dd=`{date} + dd=$"date + mail -s 'non-group-writable files on fs '^$dd 9trouble