mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +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 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])\)'
|
||||
|
|
Loading…
Reference in a new issue