about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2020-03-28 15:27:01 +0100
committerLeah Neukirchen <leah@vuxu.org>2020-03-28 15:27:01 +0100
commitcf54e625e6daca80821948042a5c11b6b1ff1c50 (patch)
tree66326d43ec9e32e24e3344fe5dd7a7ff3df1d6b3
parent1a1cc928f77a9beef19a92815bcc3401125bc630 (diff)
downloadxtools-cf54e625e6daca80821948042a5c11b6b1ff1c50.tar.gz
xtools-cf54e625e6daca80821948042a5c11b6b1ff1c50.tar.xz
xtools-cf54e625e6daca80821948042a5c11b6b1ff1c50.zip
xhog: enforce C locale to fix sorting
Closes #174.
-rwxr-xr-xxhog1
1 files changed, 1 insertions, 0 deletions
diff --git a/xhog b/xhog
index bebffbe..a6a4645 100755
--- a/xhog
+++ b/xhog
@@ -1,4 +1,5 @@
 #!/bin/sh
 # xhog - list installed XBPS packages ordered by size
 
+export LC_ALL=C
 xbps-query -p installed_size -s '' | sort -h -k2 | column -s: -t