From 64851eee5f6ba5fc9441074b9a11b9baaf064a90 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 17 Apr 2008 07:56:34 -0400 Subject: plumbing: move email rule below file rules (Bengt Kleberg) --- plumb/basic | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/plumb/basic b/plumb/basic index 6990aac7..a0b0c75b 100644 --- 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¡- 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])\)' -- cgit v1.2.3