Re: ls --color feature request: ordinary files uncoloured
From:
Jim Meyering
Subject:
Re: ls --color feature request: ordinary files uncoloured
Date:
Wed, 14 Jan 2004 22:07:21 +0100
"Avis, Ed" <address@hidden> wrote:
> ls --color lists 'ordinary' files as white, for example
>
> % ls --color foo | od -t a
> 0000000 esc [ 0 m esc [ 0 m f o o esc [ 0 m nl
> 0000020 esc [ m
> 0000023
>
> I think it would be better for plain files to not have any ANSI escape
> sequences around them, and for colouring to apply only to directories,
> *.gz and so on. Unless the user has explicitly requested something for
> 'all other files' in his dircolors list.
>
> Shall I send a patch for this?
Please do.