LC_COLLATE rather than LC_ALL

This commit is contained in:
Thomas Levine 2016-04-04 19:14:48 +00:00
parent db3dd1c662
commit fdb0b1b3ea
1 changed files with 1 additions and 1 deletions

2
urchin
View File

@ -333,7 +333,7 @@ report_outcome() {
# Use a temporary file rather than a pipe because a pipe starts a sub-shell
# and thus makes the above variables local.
sorted_log_file=$(mktemp)
cat "${log_file}" | LC_ALL=POSIX sort > "${sorted_log_file}"
cat "${log_file}" | LC_COLLATE=C sort > "${sorted_log_file}"
while read line; do
abspath=$(echo "${line}" | cut -f1)