mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
plumbing: move email rule below file rules (Bengt Kleberg)
This commit is contained in:
parent
57851b6412
commit
64851eee5f
1 changed files with 7 additions and 7 deletions
14
plumb/basic
14
plumb/basic
|
@ -35,13 +35,6 @@ dst is msword
|
||||||
plumb to msword
|
plumb to msword
|
||||||
plumb start wdoc2txt $file
|
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
|
# image files go to page
|
||||||
type is text
|
type is text
|
||||||
data matches '[a-zA-Z¡-0-9_\-./]+'
|
data matches '[a-zA-Z¡-0-9_\-./]+'
|
||||||
|
@ -118,6 +111,13 @@ data matches '/mail/fs/[a-zA-Z¡-
|
||||||
plumb to showmail
|
plumb to showmail
|
||||||
plumb start window -r 4 120 750 600 upas/nedmail -s $0
|
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
|
# man index entries are synthesized
|
||||||
type is text
|
type is text
|
||||||
data matches '([a-zA-Z¡-0-9_\-./]+)\(([1-8])\)'
|
data matches '([a-zA-Z¡-0-9_\-./]+)\(([1-8])\)'
|
||||||
|
|
Loading…
Reference in a new issue