Parse new /dev/swap. [rsc] --rwxrwxr-x M 374841 rsc sys 1996 Nov 28 09:12 sys/lib/dist/pc/inst/fmtfossil /n/sourcesdump/2005/1128/plan9/sys/lib/dist/pc/inst/fmtfossil:58,64 - /n/sourcesdump/2005/1129/plan9/sys/lib/dist/pc/inst/fmtfossil:58,64 } if(~ $do yes){ fossil/flfmt -y $f - n=`{cat /dev/swap | sed 's/^[0-9]+\/([0-9]+) .*/\1/'} + n=`{cat /dev/swap | grep ' user' | sed 's/^[0-9]+\/([0-9]+) .*/\1/'} if(test $n -gt 32768) m=3000 # if have at least 128 user MB, use 24MB for fossil if not if(test $n -gt 16384)