commit 64851eee5f6ba5fc9441074b9a11b9baaf064a90 parent 57851b64122b4a9e6a2289b8b96a447f49f68bae Author: Russ Cox <rsc@swtch.com> Date: Thu, 17 Apr 2008 07:56:34 -0400 plumbing: move email rule below file rules (Bengt Kleberg) Diffstat:
M | plumb/basic | | | 14 | +++++++------- |
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/plumb/basic b/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])\)'