Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

_brace_parameter: misleading help text for #



Hi,

echo ${(<TAB> shows
...
#  -- evaluate as numeric expression
...

zshexpn(1) says:
      #      Evaluate the resulting words as numeric expressions and output
             the characters corresponding to the resulting integer.

I think the help text is missing the crucial bit here:
output the characters corresponding to the resulting integer.

Perhaps
"#:evaluate as numeric expression and interpret as character codes"
or so would be a better description.

Thanks,
-- 
Leah Neukirchen  <leah@xxxxxxxx>  https://leahneukirchen.org/




Messages sorted by: Reverse Date, Date, Thread, Author