Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: remove duplicate array values in parameter expansion
- X-seq: zsh-workers 16346
- From: Clint Adams <clint@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: PATCH: remove duplicate array values in parameter expansion
- Date: Sun, 16 Dec 2001 16:05:08 -0500
- In-reply-to: <20011216205032.GA32057@xxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20011214215105.GA24236@xxxxxxxx> <011214141539.ZM32471@xxxxxxxxxxxxxxxxxxxxxxx> <20011216205032.GA32057@xxxxxxxx>
> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author