mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-05-28 10:56:08 +02:00
27639: clarify that ${(#)...} deals with character codes.
This commit is contained in:
parent
774c634d2e
commit
41eb200d66
|
@ -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>
|
2022-03-30 Peter Stephenson <p.stephenson@samsung.com>
|
||||||
|
|
||||||
* 49906 (Bart), 49911: Doc/Zsh/builtins.yo,
|
* 49906 (Bart), 49911: Doc/Zsh/builtins.yo,
|
||||||
|
|
|
@ -968,9 +968,10 @@ following flags are supported:
|
||||||
|
|
||||||
startitem()
|
startitem()
|
||||||
item(tt(#))(
|
item(tt(#))(
|
||||||
Evaluate the resulting words as numeric expressions and output the
|
Evaluate the resulting words as numeric expressions and interpret
|
||||||
characters corresponding to the resulting integer. Note that this form is
|
these as character codes. Output the corresponding characters. Note
|
||||||
entirely distinct from use of the tt(#) without parentheses.
|
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
|
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.
|
(i.e. not an ASCII character) it is treated as a Unicode character.
|
||||||
|
|
Loading…
Reference in New Issue