Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: remove duplicate array values in parameter expansion



> 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