commit d163baf523f28b83251f6f5db74e49ac102d456a (patch) parent 58653ffece45d56b37c7665a1700b3905ffbed83 Author: Alex Karle <alex@alexkarle.com> Date: Fri, 2 Jul 2021 23:18:52 -0400 bin: Clean out unused `hooman` script Seemed like it would be useful at the time. In practice, I don't ever use it! Diffstat:
D | bin/hooman | | | 22 | ---------------------- |
1 file changed, 0 insertions(+), 22 deletions(-)
diff --git a/bin/hooman b/bin/hooman @@ -1,22 +0,0 @@ -#!/bin/sh -# hooman -- print fields in human-readable sizes -die() { - echo "$1" 2>&1 - exit 1 -} - -usage() { - die "usage: hooman [-h N] FIELD [FIELD2 FIELD3 ...]" -} - -[ -z "$1" ] && usage - -case "$1" in - -h) - [ -z "$2" ] && usage - header="--header=$2" - shift 2 - ;; -esac - -numfmt $header --field="$*" --to=iec-i --suffix=B --padding=7 --round=nearest