Hi,

 

We are facing issue when using sort, could you please help us to understand why? Thanks a lot.

 

We run below command on two servers, but got different outputs. I attached source file (property_contexts) and two outputs files(sort_property_context_local.txt & sort_property_context_slave.txt).

$sort -u property_contexts -o sort_property_context.txt

 

As checked, we use same version of sort on that two servers:

local:~ $sort --version

sort (GNU coreutils) 8.21

Copyright (C) 2013 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.

 

Written by Mike Haertel and Paul Eggert.

--------------------------------------------------------

slave:~ $sort --version

sort (GNU coreutils) 8.21

Copyright (C) 2013 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.

 

Written by Mike Haertel and Paul Eggert.

 

 

Best Regards