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:
parent
13ab7280aa
commit
8659013fb8
3 changed files with 10 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue