[Top][All Lists]

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

Re: du enhancement

From: Michael Stone
Subject: Re: du enhancement
Date: Thu, 9 Nov 2023 15:10:57 -0500

On Fri, Oct 20, 2023 at 04:47:59PM +0100, Pádraig Brady wrote:
Yes coloring is a plausible addition to du,
and would make sense to follow the same options, env vars as ls.

I'd argue that the use of colors in coreutils shouldn't really expand unless/until there's a more robust & generic interface than embedding escape codes in the utility sources and relying on stuff like terminal names in dircolors. Colorizing more outputs would certainly make it easier to parse some of the walls of text, but it seems that going down that road is an excellent time to refactor the old ls color hack rather than trying to extend it.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]