config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit 568846730636e289f58841433a241109814eaf65
parent 3a5fbd390faf5a7978ee0f23c155c2ffd0d4e35e
Author: Jacob R. Edwards <n/a>
Date:   Tue, 29 Nov 2022 17:25:51 -0600

Fix mem script

When the -t flag was used, the input was not noted to be kibibytes
when input to human.awk.

Diffstat:
Mlocal/bin/bin/mem | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/local/bin/bin/mem b/local/bin/bin/mem @@ -21,7 +21,7 @@ case "$#$1" in (0) usage | humanize | sort -h ;; (1-t) - usage | awk '{t+=$0}END{print t}' | human.awk -vSTART=1 ;; + usage | awk '{t+=$0}END{print t}' | humanize ;; (*) printf 'usage: %s [-t]\n' "$(basename "$0")" 1>&2 exit 1