Navigation Menu

Skip to content

Commit

Permalink
explicitly set LC_ALL=C to get fast and stable sort result.
Browse files Browse the repository at this point in the history
  • Loading branch information
fdiary committed Mar 5, 2012
1 parent c894bb5 commit 5c46222
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/sql/update-result-files.sh
Expand Up @@ -13,7 +13,7 @@ list_paths()
{
variable_name=$1
echo "$variable_name = \\"
sort | \
LC_ALL=C sort | \
sed \
-e 's,^,\t,' \
-e 's,$, \\,'
Expand Down
2 changes: 1 addition & 1 deletion test/sql/update-test-files.sh
Expand Up @@ -4,7 +4,7 @@ list_paths()
{
variable_name=$1
echo "$variable_name = \\"
sort | \
LC_ALL=C sort | \
sed \
-e 's,^,\t,' \
-e 's,$, \\,'
Expand Down

0 comments on commit 5c46222

Please sign in to comment.