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

Re: _brace_parameter: misleading help text for #



On Thu, Jul 22, 2021, at 9:35 AM, Leah Neukirchen wrote:
> 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.

Apologies, Leah.  This hasn't been addressed, as far as I can tell.

workers: Anyone want to take a stab at it?

-- 
vq




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