From: Clinton Bunch <cdb_zsh@zentaur.org>
To: zsh-workers@zsh.org
Subject: Re: [PATCH 1/1] zsh/random module
Date: Wed, 27 Mar 2024 18:30:19 -0500 [thread overview]
Message-ID: <8530c47b-a678-4a20-91dc-d750b900dfe1@zentaur.org> (raw)
In-Reply-To: <45497-1711581491.091676@9sKB.jDYp.NqUn>
On 3/27/2024 18:18, Oliver Kiddle wrote:
> Clinton Bunch wrote:
>> On 3/25/2024 18:59, Oliver Kiddle wrote:
>>> Clinton Bunch wrote:
>>>> +startitem()
>>>> +vindex(SRANDOM)
>>>> +item(tt(SRANDOM)) (
>>>> +A random positive 32-bit integer between 0 and 4,294,967,295. This parameter
>>>> +is read-only.
>>>> +)
>>> It'd be useful to spell-out exactly what the "S" in the name stands for.
>> I'm not honestly sure what it stands for, I used it for compatibility
>> with bash. Possibly 'system'?
> Checking the bash 5.1 release notes, you may be right but it isn't clear
> from either that or the bash manual. For some reason, I was associating
> it with "secure" because the need for good random number generators is
> often associated with security.
I updated the documentation to state that the name was chosen for
compatibility with Bash
>
> Before I forget this again, random should be added to the modules array
> in Completion/Zsh/Type/_module_math_func so that completion adds its
> math functions.
Done.
> Oliver
>
prev parent reply other threads:[~2024-03-27 23:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-24 14:11 Clinton Bunch
2024-03-25 23:59 ` Oliver Kiddle
2024-03-26 0:42 ` Clinton Bunch
2024-03-26 1:07 ` Clinton Bunch
2024-03-27 23:18 ` Oliver Kiddle
2024-03-27 23:30 ` Clinton Bunch [this message]
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=8530c47b-a678-4a20-91dc-d750b900dfe1@zentaur.org \
--to=cdb_zsh@zentaur.org \
--cc=zsh-workers@zsh.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public 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).