From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25759 invoked from network); 16 Dec 2001 21:05:17 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 16 Dec 2001 21:05:17 -0000 Received: (qmail 21750 invoked by alias); 16 Dec 2001 21:05:13 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 16346 Received: (qmail 21688 invoked from network); 16 Dec 2001 21:05:11 -0000 Date: Sun, 16 Dec 2001 16:05:08 -0500 From: Clint Adams To: zsh-workers@sunsite.dk Subject: Re: PATCH: remove duplicate array values in parameter expansion Message-ID: <20011216210508.GA32623@dman.com> References: <20011214215105.GA24236@dman.com> <011214141539.ZM32471@candle.brasslantern.com> <20011216205032.GA32057@dman.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011216205032.GA32057@dman.com> User-Agent: Mutt/1.3.24i > Other than replacing qsort for the combined base, I wouldn't know what ^ that should be a 'c'. I forgot the extremely brief documentation. Index: Doc/Zsh/expn.yo =================================================================== RCS file: /cvsroot/zsh/zsh/Doc/Zsh/expn.yo,v retrieving revision 1.38 diff -u -r1.38 expn.yo --- Doc/Zsh/expn.yo 2001/09/09 06:17:03 1.38 +++ Doc/Zsh/expn.yo 2001/12/16 21:02:36 @@ -761,6 +761,9 @@ in `tt(${${(z)foo}[2]})'. Likewise, to remove the quotes in the resulting words one would do: `tt(${(Q)${(z)foo}})'. ) +item(tt(n))( +Expand only the first occurrence of each unique word. +) enditem() The following flags (except tt(p)) are followed by one or more arguments