AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
#Operatingsystems
#Servers
 View Only
  • 1.  LC_COLLATE

    Posted 09/15/15 10:40 AM

    Originally posted by: Ulli_Zu


    Hi there,

     

    When executing "ls" on an AIX host and a Linux host, I see differences in the sort-order of the output; with the same locale!

     

    Is the way collation is applied perhaps platform-specific? Is there another reason why the sort-order differs between AIX and Linux?

     

    AIX # locale -a | grep en_US.ISO8859-1
    en_US.ISO8859-1
    AIX # LC_ALL=en_US.ISO8859-1 ls
    Arie  Henk  Ulli  arie  henk  ulli  Árie  árie

     

    Linux # locale -a | grep en_US.iso88591
    en_US.iso88591
    en_US.iso885915
    Linux # LC_ALL=en_US.iso88591 ls
    arie  Arie  árie  Árie  henk  Henk  ulli  Ulli


    #AIX-Forum