notify 223 B

123456789
  1. #!/bin/rc
  2. # patch/notify
  3. rfork e
  4. for(i)
  5. # don't flood sys when merely shuffling patches around
  6. if (~ $i applied/* saved/* sorry/*) {
  7. patch/list $i | mail -s 'patch/list '^$i sys \
  8. `{cat /n/sources/patch/$i/email}
  9. }