[Bug 1647456] [NEW] ls ignores LC_COLLATE in sorting of files

rpkrawczyk 1647456 at bugs.launchpad.net
Mon Dec 5 19:33:05 UTC 2016


Public bug reported:

The "ls" command does not honor the LC_COLLATE setting. Steps to
reproduce:

1) In an emtpy directory type "touch a b; mkdir x"
2) Do: "ls -l"
3) Then: "export LC_COLLATE=C"
4) Again: "ls -l"
5) Expected was that directories are outputted first but nothing changes.
6) Setting LANG=C or LC_ALL=C does not help either.

---

Description:	Ubuntu 16.04.1 LTS
Release:	16.04

coreutils:
  Installed: 8.25-2ubuntu2
  Candidate: 8.25-2ubuntu2
  Version table:
 *** 8.25-2ubuntu2 500
        500 http://de.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status

Thank you!

** Affects: coreutils (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/1647456

Title:
  ls ignores LC_COLLATE in sorting of files

Status in coreutils package in Ubuntu:
  New

Bug description:
  The "ls" command does not honor the LC_COLLATE setting. Steps to
  reproduce:

  1) In an emtpy directory type "touch a b; mkdir x"
  2) Do: "ls -l"
  3) Then: "export LC_COLLATE=C"
  4) Again: "ls -l"
  5) Expected was that directories are outputted first but nothing changes.
  6) Setting LANG=C or LC_ALL=C does not help either.

  ---

  Description:	Ubuntu 16.04.1 LTS
  Release:	16.04

  coreutils:
    Installed: 8.25-2ubuntu2
    Candidate: 8.25-2ubuntu2
    Version table:
   *** 8.25-2ubuntu2 500
          500 http://de.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
          100 /var/lib/dpkg/status

  Thank you!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1647456/+subscriptions



More information about the foundations-bugs mailing list