1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-22 16:20:23 +02:00

16357: change (n) to (u) so (n) can be reserved. for numeric sorting.

This commit is contained in:
Clint Adams 2001-12-17 14:06:27 +00:00
parent 13ab7280aa
commit 8659013fb8
3 changed files with 10 additions and 4 deletions

View file

@ -727,6 +727,9 @@ for special parameters defined by the shell
)
enditem()
)
item(tt(u))(
Expand only the first occurrence of each unique word.
)
item(tt(U))(
Convert all letters in the result to upper case.
)
@ -761,9 +764,6 @@ 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