plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 8b0728d3b5fa9afb4e7a4b83f2fb39052b291e4e
parent 26eba9db1a39acdc2cfaac7914fad2bda9f06f5a
Author: rsc <devnull@localhost>
Date:   Tue,  6 Jun 2006 13:58:19 +0000

use 9 page instead of page

Diffstat:
Mplumb/basic | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/plumb/basic b/plumb/basic @@ -58,7 +58,7 @@ data matches '[a-zA-Z¡-￿0-9_\-./]+' 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 page $file +plumb start 9 page $file # postscript/pdf/dvi go to page but not over the a plumb port # the port is here for reference but is unused @@ -67,7 +67,7 @@ data matches '[a-zA-Z¡-￿0-9_\-./]+' data matches '([a-zA-Z¡-￿0-9_\-./]+)\.(ps|PS|eps|EPS|pdf|PDF|dvi|DVI)' arg isfile $0 plumb to postscript -plumb start page $file +plumb start 9 page $file # open office - s[xt][cdigmw], doc, xls, ppt data matches '[a-zA-Z¡-￿0-9_\-./]+' @@ -137,9 +137,9 @@ plumb start rc -c 'man '$2' '$1' >[2=1] | nobs | plumb -i -d edit -a ''action=sh dst is image arg isfile $data plumb to image -plumb start page $data +plumb start 9 page $data # start rule for postscript without known suffixes dst is postscript arg isfile $data -plumb start page $data +plumb start 9 page $data