shithub: rc

ref: deda28504aef3df61fed73bfe89b0db875a46004
dir: /bin/xpage/

View raw version
#!/bin/rc
if(~ $#* 0)
	exit
if(~ $1 -s)
	walk -fesp $*(2-) | sort -rn | sed '512q;s/^[^ ]+ //' | xargs -n 512 page -m 128
if not
	walk $* | shl | sed 512q | xargs -n 512 page -m 128