Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Commit 0bbd025

Browse files
author
Chan Chak Shing
authored
Use native bytes value as the default sort order (#19025)
1 parent 93feb91 commit 0bbd025

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/ruleset-whitelist-cleanup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ done) < "$WLIST"
3838

3939
# Sorting by the 4th column (ruleset name)
4040
TMPFILE=`mktemp`
41-
(head -n1 "$WLIST" && tail -n +2 "$WLIST" | sort -t"," -b -u -k4) > "$TMPFILE"
41+
(head -n1 "$WLIST" && tail -n +2 "$WLIST" | LC_ALL=C sort -t"," -b -u -k4) > "$TMPFILE"
4242
mv "$TMPFILE" "$WLIST"

0 commit comments

Comments
 (0)