Red Hat Bugzilla – Bug 86037
dircolors defines a file type it later claims it can't handle
Last modified: 2007-04-18 12:51:58 EDT
Description of problem:
``dircolors -p'' prints out a list of the file types that can be colorized (with
ls --color) that can be modified. One of these is
DOOR 01;35 # door
When you use ``eval `dircolors <dbfile>`'' to reload your modified database, or
even just ``eval `dircolors`'' to restore the color database to the default, it
Unknown colorls variable `do'.
The colors are changed, however.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. eval `dircolors`
1. dircolors -p > foo
2. eval `dircolors foo`
Error message Unknown colorls variable `do'.
Other colors are changed.
Colors are reset with no output to terminal.
The color database in /etc/DIR_COLORS does not include the DOOR entry. (And
also doesn't really match the output from ``dircolors -p'' at all.)
Seems to work fine in the coreutils in rawhide.