LC_COLLATE rather than LC_ALL
This commit is contained in:
parent
db3dd1c662
commit
fdb0b1b3ea
2
urchin
2
urchin
|
@ -333,7 +333,7 @@ report_outcome() {
|
||||||
# Use a temporary file rather than a pipe because a pipe starts a sub-shell
|
# Use a temporary file rather than a pipe because a pipe starts a sub-shell
|
||||||
# and thus makes the above variables local.
|
# and thus makes the above variables local.
|
||||||
sorted_log_file=$(mktemp)
|
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
|
while read line; do
|
||||||
abspath=$(echo "${line}" | cut -f1)
|
abspath=$(echo "${line}" | cut -f1)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user