GNU bug report logs - #9086
'dircolors' request: support UPPERCASE suffixes, also, please.

Previous Next

Package: coreutils;

Reported by: SciFi <sci-fi <at> hush.ai>

Date: Thu, 14 Jul 2011 22:43:02 UTC

Severity: wishlist

Tags: fixed

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: SciFi <sci-fi <at> hush.ai>
To: bug-coreutils <at> gnu.org
Subject: 'dircolors' request: support UPPERCASE suffixes, also, please.
Date: Thu, 14 Jul 2011 17:41:44 -0500
[Message part 1 (text/plain, inline)]
Hi,

For those of us who use case-SENsitive file systems, and then come across filenames with UPPERCASE suffixes, the provided 'dircolors' function does not colorize those listings.

What I usually do, every time a new release of coreutils comes out, is to duplicate by hand the list of suffixes in src/dircolors.hin to add the UPPERCASE versions of all those entries.

But this does not 'fix' any Mixed-casE suffixes, tho.

And I wonder if doubling this list of suffixes has a bit less performance, and eats-up a bit more RAM for the LS_COLORS env-var etc.

So, I need to request a change to color processing in various commands (esp'ly 'ls') to internally process a case-neutral version of the filename to determine the highlighting strings to be sent to the screen/terminal/whatever.

The coding logic seems way-too complex for my lil mind to try providing a patch.  ;)

Thanks for considering this request.


[PGP.sig (application/pgp-signature, inline)]

This bug report was last modified 6 years and 218 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.