diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | Doc/Zsh/expn.yo | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 947057496..2124d7b22 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2001-12-16 Clint Adams <clint@zsh.org> + * 16346: Doc/Zsh/expn.yo: documentation for 16345. + * 16345: Src/params.c, Src/subst.c: (n) flag to remove duplicate array values during expansion. diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo index 834cb97c3..c3fbd7cfc 100644 --- a/Doc/Zsh/expn.yo +++ b/Doc/Zsh/expn.yo @@ -761,6 +761,9 @@ access single words in the result, one has to use nested expansions as 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 |