shithub: rc

Download patch

ref: e57825387ee86f89ccad90422a8c1826e939b432
parent: 9a3e63e59d5e819b3c026fef48aa07081c35f6fd
author: qwx <qwx@sciops.net>
date: Sun Feb 4 09:54:46 EST 2024

xpage: reduce stupidly huge memory limit

--- a/bin/xpage
+++ b/bin/xpage
@@ -2,6 +2,6 @@
 if(~ $#* 0)
 	exit
 if(~ $1 -s)
-	walk -fesp $*(2-) | sort -rn | sed '512q;s/^[^ ]+ //' | xargs -n 512 page -m 128
+	walk -fesp $*(2-) | sort -rn | sed '512q;s/^[^ ]+ //' | xargs -n 512 page -m 32
 if not
-	walk $* | shl | sed 512q | xargs -n 512 page -m 128
+	walk $* | shl | sed 512q | xargs -n 512 page -m 32