[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: color ls (fwd)



Answer from Jim Meyering (GNU fileutils mainstream maintainer):

> | I copied this to Jim Meyering hoping that he might be able to answer
> | your question Michael.
> |
> | Michael Meskes writes:
> | > Erick Branderhorst writes:
> | > > This file is in the origianl fileutils source name: dircolors.hin
> | > > but is not installed as you might have noticed.
> | >
> | > What's the reason for this behaviour?
> 
> I changed dircolors (to be different from the original slackware version)
> so that it doesn't read any fixed-filename config file.  So it no longer
> reads /etc/DIRCOLORS or $HOME/.whatever-that-name-was.
> 
> I made that change to maintain some measure of orthogonality.  Otherwise,
> dircolors would have been the sole program to do such a thing in all of
> the fileutils/textutils/sh-utils.
> 
> As you probably noticed, I added the --print-data-base option to print
> the default, compiled-in database.  So now, the config file must be
> specified when dircolors is run.
> 
>   % dircolors --help
>   Usage: dircolors [OPTION]... [FILE]
>   Output commands to set the LS_COLOR environment variable.
> 
>   Determine format of output:
>     -b, --sh, --bourne-shell    output Bourne shell code to set LS_COLOR
>     -c, --csh, --c-shell        output C shell code to set LS_COLOR
>     -p, --print-data-base       output defaults
> 	--help                  display this help and exit
> 	--version               output version information and exit

Erick



Reply to: