dircolors produces no colour information

Bug #1523847 reported by Gavin Panella
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
coreutils (Ubuntu)
New
Undecided
Unassigned

Bug Description

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)

Revision history for this message
Gavin Panella (allenap) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.