zsh-workers
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <opk@zsh.org>
To: Clinton Bunch <cdb_zsh@zentaur.org>
Cc: zsh-workers@zsh.org
Subject: Re: [PATCH 1/1] zsh/random module
Date: Thu, 28 Mar 2024 00:18:11 +0100	[thread overview]
Message-ID: <45497-1711581491.091676@9sKB.jDYp.NqUn> (raw)
In-Reply-To: <5e230a1b-1656-4332-9335-a38d956dac80@zentaur.org>

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.

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.

Oliver


  parent reply	other threads:[~2024-03-27 23:18 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 [this message]
2024-03-27 23:30       ` Clinton Bunch

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=45497-1711581491.091676@9sKB.jDYp.NqUn \
    --to=opk@zsh.org \
    --cc=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).