mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
use 9 page instead of page
This commit is contained in:
parent
26eba9db1a
commit
8b0728d3b5
1 changed files with 4 additions and 4 deletions
|
@ -58,7 +58,7 @@ data matches '[a-zA-Z¡-
|
|||
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¡-
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue