Re: Bug#479544: dircolors: please eliminate duplicates before writing va
From:
Jim Meyering
Subject:
Re: Bug#479544: dircolors: please eliminate duplicates before writing variable
Date:
Tue, 06 May 2008 10:46:37 +0200
martin f krafft <address@hidden> wrote:
> also sprach Jim Meyering <address@hidden> [2008.05.05.1829 +0100]:
>> If no one volunteers to do this soon
>> I'll put it on the TODO list.
>
> FWIW, this is a zsh-style way of dealing with it. It's not exactly
> rocket science, I just use an associative array to uniquify:
>
>
>http://git.madduck.net/v/etc/zsh.git?a=blob;f=.zsh/zshrc/89_dircolors;hb=HEAD
Yep. When this is done in dircolors, it'll do the same, using lib/hash.c.