feat(script): sort-symbol-file formats addresses in lowercase to uppercase before sorting

This commit is contained in:
phaneron 2024-12-20 15:11:23 -05:00
parent e95eb3354d
commit 0fa8d70e2c

View file

@ -9,5 +9,5 @@ if [ $# -eq 0 ]
fi
mv $1 "$1.bak"
awk 1 "$1.bak" | sort -k2 -t' ' > $1
awk '$2 = toupper($2)' "$1.bak" | awk 1 - | sort -k2 -t' ' > $1
rm "$1.bak"