zsh-users
 help / color / mirror / code / Atom feed
From: Leah Neukirchen <leah@vuxu.org>
To: zsh-users@zsh.org
Subject: _brace_parameter: misleading help text for #
Date: Thu, 22 Jul 2021 15:35:13 +0200	[thread overview]
Message-ID: <87im12pj3i.fsf@vuxu.org> (raw)

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@vuxu.org>  https://leahneukirchen.org/


             reply	other threads:[~2021-07-22 13:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-22 13:35 Leah Neukirchen [this message]
2022-03-31  5:49 ` Lawrence Velázquez
2022-03-31  8:42   ` Peter Stephenson
2022-03-31 12:16     ` Leah Neukirchen
2022-03-31 19:26       ` Lawrence Velázquez
2022-04-01  0:11         ` Matthew Martin
2022-04-01  0:21           ` Lawrence Velázquez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87im12pj3i.fsf@vuxu.org \
    --to=leah@vuxu.org \
    --cc=zsh-users@zsh.org \
    --subject='Re: _brace_parameter: misleading help text for #' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).