Re: Bug#479544: dircolors: please eliminate duplicates before writing va
From:
martin f krafft
Subject:
Re: Bug#479544: dircolors: please eliminate duplicates before writing variable
Date:
Tue, 6 May 2008 09:30:43 +0100
User-agent:
Mutt/1.5.17+20080114 (2008-01-14)
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
--
.''`. martin f. krafft <address@hidden>
: :' : proud Debian developer, author, administrator, and user
`. `'` http://people.debian.org/~madduck - http://debiansystem.info
`- Debian - when you have better things to do than fixing systems