~royniang/lib

ref: 72acf28f15c71235d7be3859dcab7a197400cc43 lib/bin/pdf -rwxr-xr-x 184 bytes
72acf28froy niang minor fixes. 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/rc
ppi=157

if(~ $#* 0){
	echo 'Usage: pdf file page'
	exit
}
d=$1
if(~ $#2 1)
	p=$2
	window -cd `{pwd} page -R -p $ppi -j $d!$p $d
if not
	window -cd `{pwd} page -R -p $ppi $d