19 lines
536 B
Bash
Executable file
19 lines
536 B
Bash
Executable file
#!/bin/rc
|
|
# 2018-02-15T21:12:06-0500
|
|
# helper program for launching http://plan9.stanleylieber.com/mother from faces(1).
|
|
rfork en
|
|
|
|
# plumber rules for faces(1)
|
|
#type is text
|
|
#data matches '[a-zA-Z¡-0-9_\-./]+'
|
|
#data matches '/mail/fs/[a-zA-Z¡-0-9/]+/[0-9]+'
|
|
#plumb to showmail
|
|
#plumb start window -r 583 206 1303 1200 facemother $0
|
|
|
|
# open and print only the indicated message
|
|
msg=`{sed -n 19p $1/info}
|
|
upas/fs -f /mail/box/sl/mbox/$msg
|
|
mother -p 1
|
|
|
|
# use existing mailbox, print the indicated message
|
|
#mother -p `{basename $1}
|