Public bug reported:

The dircolors default database is populated:

  $ dircolors --print-database
  # Configuration file for dircolors, a utility to help you set the
  # LS_COLORS environment variable used by GNU ls with the --color option.
  ...
  .axa 00;36
  .oga 00;36
  .spx 00;36
  .xspf 00;36

However nothing gets produced when asking it to render LS_COLORS:

  $ dircolors --bourne-shell
  LS_COLORS='';
  export LS_COLORS

  $ dircolors --csh
  setenv LS_COLORS ''

I would expect something more like:

  $ dircolors --bourne-shell
  LS_COLORS='...=00;36:*.spx=00;36:*.xspf=00;36:';
  export LS_COLORS

and:

  $ dircolors --csh
  setenv LS_COLORS '...=00;36:*.spx=00;36:*.xspf=00;36:'

where the ellipsis represents many similar rules.

The same happens when using dircolors with an existing database file:

  $ dircolors --bourne-shell /path/to/dircolors/database
  LS_COLORS='';
  export LS_COLORS

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: coreutils 8.23-4ubuntu2
ProcVersionSignature: Ubuntu 4.3.0-2.11-generic 4.3.0
Uname: Linux 4.3.0-2-generic x86_64
ApportVersion: 2.19.2-0ubuntu9
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Dec  8 09:45:16 2015
InstallationDate: Installed on 2014-03-16 (631 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140316)
SourcePackage: coreutils
UpgradeStatus: Upgraded to xenial on 2015-11-22 (15 days ago)

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


** Tags: amd64 apport-bug xenial

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

Title:
  dircolors produces no colour information

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to