tsmall fixes - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 661756d7154f1ef4228593fcf6298fdba20a6775
DIR parent f23ba5ea636d8b048fbee4e005f959d1f9dec503
HTML Author: rsc <devnull@localhost>
Date: Wed, 21 Apr 2004 23:34:32 +0000
small fixes
Diffstat:
M plumb/basic | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
DIR diff --git a/plumb/basic b/plumb/basic
t@@ -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