Plan 9 from Bell Labs’s /usr/web/sources/plan9/rc/bin/patch/notify
#!/bin/rc # patch/notify rfork e for(i) # don't flood sys when merely shuffling patches around if (~ $i applied/* saved/* sorry/*) { patch/list $i | mail -s 'patch/list '^$i sys \ `{cat /n/sources/patch/$i/email} }