mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-19 11:31:26 +01:00
27639: clarify that ${(#)...} deals with character codes.
This commit is contained in:
parent
774c634d2e
commit
41eb200d66
2 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2022-03-31 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* 27639: Doc/Zsh/expn.yo: clarify that ${(#)...} deals with
|
||||
character codes.
|
||||
|
||||
2022-03-30 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* 49906 (Bart), 49911: Doc/Zsh/builtins.yo,
|
||||
|
|
|
@ -968,9 +968,10 @@ following flags are supported:
|
|||
|
||||
startitem()
|
||||
item(tt(#))(
|
||||
Evaluate the resulting words as numeric expressions and output the
|
||||
characters corresponding to the resulting integer. Note that this form is
|
||||
entirely distinct from use of the tt(#) without parentheses.
|
||||
Evaluate the resulting words as numeric expressions and interpret
|
||||
these as character codes. Output the corresponding characters. Note
|
||||
that this form is entirely distinct from use of the tt(#) without
|
||||
parentheses.
|
||||
|
||||
If the tt(MULTIBYTE) option is set and the number is greater than 127
|
||||
(i.e. not an ASCII character) it is treated as a Unicode character.
|
||||
|
|
Loading…
Reference in a new issue