diff options
author | Peter Stephenson <p.stephenson@samsung.com> | 2022-03-31 13:57:56 +0100 |
---|---|---|
committer | Peter Stephenson <p.stephenson@samsung.com> | 2022-03-31 13:57:56 +0100 |
commit | 41eb200d66e4bea7bc5798888a1755cdf5daa3b0 (patch) | |
tree | 756568bf08955d8a9fd86eee7c94bdf8d8305be6 /Doc | |
parent | 774c634d2e494046865e59af2f9e3b2d0a74597a (diff) | |
download | zsh-41eb200d66e4bea7bc5798888a1755cdf5daa3b0.tar.gz zsh-41eb200d66e4bea7bc5798888a1755cdf5daa3b0.tar.xz zsh-41eb200d66e4bea7bc5798888a1755cdf5daa3b0.zip |
27639: clarify that ${(#)...} deals with character codes.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/Zsh/expn.yo | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo index 00cbbcd27..bbacc6ae4 100644 --- a/Doc/Zsh/expn.yo +++ b/Doc/Zsh/expn.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. |