On 27 Nov 2013, at 16:13, Martin Schreiber wrote:

On Wednesday 27 November 2013 13:05:29 Mattias Gaertner wrote:
Result:

o   and .   gives 1
oc  and .o  gives 1
oce and .ou gives -18

Possibly as intended because the collation of the current locale ignores
punctuation.

You're right: 
https://www.gnu.org/software/coreutils/faq/#Sort-does-not-sort-in-normal-order_0021

So there is no bug in either FPC or glibc. The locale is simply defined like that on Linux.


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to