bug-coreutils
[Top][All Lists]
Advanced

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

Re: ls --color for hard links (Ubuntu bug #123423)


From: Jim Meyering
Subject: Re: ls --color for hard links (Ubuntu bug #123423)
Date: Tue, 14 Oct 2008 16:04:46 +0200

Kamil Dudka <address@hidden> wrote:
> at https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/123423 is proposed
> ls enhancement highlighting regular files with hardlinks (1 < nlink). I tried
> to implement this enhancement, but I have some questions:
>
> 1. Do you think, it would be useful? I think it would.
>
> 2. In the report it is proposed to highlight the number of links, but I am not
> sure with such solution.
>
> There is already working infrastructure for file names highlighting. It will
> be much more systematic to highlight file names using this infrastructure
> than highlighting the number of links.
>
> So I propose to add new ls color attribute to highlight files with more than
> one hardlink. What do you think?

I agree.  I'd rather add to (and remain consistent with) the existing
framework than add a feature whereby the number of hard links is
highlighted in long-style output.




reply via email to

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