dircolors produces no colour information
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=
export LS_COLORS
and:
$ dircolors --csh
setenv LS_COLORS '...=00;
where the ellipsis represents many similar rules.
The same happens when using dircolors with an existing database file:
$ dircolors --bourne-shell /path/to/
LS_COLORS='';
export LS_COLORS
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: coreutils 8.23-4ubuntu2
ProcVersionSign
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)