commit 64851eee5f6ba5fc9441074b9a11b9baaf064a90 from: Russ Cox date: Thu Apr 17 11:56:34 2008 UTC plumbing: move email rule below file rules (Bengt Kleberg) commit - 57851b64122b4a9e6a2289b8b96a447f49f68bae commit + 64851eee5f6ba5fc9441074b9a11b9baaf064a90 blob - 6990aac7735ac968a80b9e3890fac4e768ac0312 blob + a0b0c75beb8b5bb814a5b0a1a2f827a80ae41c9c --- plumb/basic +++ plumb/basic @@ -35,13 +35,6 @@ dst is msword plumb to msword plumb start wdoc2txt $file -# email addresses get a new mail window -type is text -data matches '[a-zA-Z0-9_+.\-]+@[a-zA-Z0-9_+.\-]*' -plumb to sendmail -plumb start wmail $0 -# plumb start window rc -c '''echo % mail '''$0'; mail '$0 - # image files go to page type is text data matches '[a-zA-Z¡-￿0-9_\-./]+' @@ -118,6 +111,13 @@ data matches '/mail/fs/[a-zA-Z¡-￿0-9/]+/[0-9]+' plumb to showmail plumb start window -r 4 120 750 600 upas/nedmail -s $0 +# email addresses get a new mail window +type is text +data matches '[a-zA-Z0-9_+.\-]+@[a-zA-Z0-9_+.\-]*' +plumb to sendmail +plumb start wmail $0 +# plumb start window rc -c '''echo % mail '''$0'; mail '$0 + # man index entries are synthesized type is text data matches '([a-zA-Z¡-￿0-9_\-./]+)\(([1-8])\)'