summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-02-26 16:16:50 -0700
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-02-26 16:16:50 -0700
commit8a231f17a865fbae5b4548f0aba80554b3c39d72 (patch)
tree0ee5cd6955d18cd5ce2ad83cbe90d190daa338f0 /build-aux
parent9d38a89701d45ebc28e73b06f4283d460c151c73 (diff)
lint-bin: Also show sizes in decimal
Diffstat (limited to 'build-aux')
-rwxr-xr-xbuild-aux/lint-bin4
1 files changed, 2 insertions, 2 deletions
diff --git a/build-aux/lint-bin b/build-aux/lint-bin
index d16a25d..ffc2a12 100755
--- a/build-aux/lint-bin
+++ b/build-aux/lint-bin
@@ -63,10 +63,10 @@ lint_globals() {
source="$(realpath --canonicalize-missing --no-symlinks --relative-to="$topdir" -- "$source")"
;;
esac
- printf '%s %s 0x%04x\n' "$source" "$symbol" "$size"
+ printf "%s %s 0x%04x (%'d)\n" "$source" "$symbol" "$size" "$size"
total=$((total + size))
done
- printf '~ Total 0x%04x\n' "$total"
+ printf "~ Total 0x%04x (%'d)\n" "$total" "$total"
} |
LC_COLLATE=C sort
} | column -t