aboutsummaryrefslogtreecommitdiff
path: root/plumb
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-04-21 23:34:32 +0000
committerrsc <devnull@localhost>2004-04-21 23:34:32 +0000
commit661756d7154f1ef4228593fcf6298fdba20a6775 (patch)
treec0537c0b1226fd034f7ff4eca74ede1771022670 /plumb
parentf23ba5ea636d8b048fbee4e005f959d1f9dec503 (diff)
downloadplan9port-661756d7154f1ef4228593fcf6298fdba20a6775.tar.gz
plan9port-661756d7154f1ef4228593fcf6298fdba20a6775.tar.bz2
plan9port-661756d7154f1ef4228593fcf6298fdba20a6775.zip
small fixes
Diffstat (limited to 'plumb')
-rw-r--r--plumb/basic5
1 files changed, 2 insertions, 3 deletions
diff --git a/plumb/basic b/plumb/basic
index 22e4d1f0..e9a17fa9 100644
--- a/plumb/basic
+++ b/plumb/basic
@@ -35,11 +35,10 @@ 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_\-./]+'
-data matches '([a-zA-Z¡-￿0-9_\-./]+)\.(jpe?g|JPE?G|gif|GIF|tiff?|TIFF?|ppm|bit)'
+data matches '([a-zA-Z¡-￿0-9_\-./]+)\.(jpe?g|JPE?G|gif|GIF|tiff?|TIFF?|ppm|bit|png|PNG)'
arg isfile $0
plumb to image
-plumb start qiv -t $1
-# plumb client page -wi
+plumb start qiv -t $0
# postscript/pdf/dvi go to page but not over the a plumb port
# the port is here for reference but is unused