From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: from zero.zsh.org (zero.zsh.org [IPv6:2a02:898:31:0:48:4558:7a:7368]) by inbox.vuxu.org (Postfix) with ESMTP id 0D294244EF for ; Thu, 28 Mar 2024 00:30:35 +0100 (CET) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1711582235; b=IcedfUjeoF/wWoY2jhMgU9W1R/Hozn0ynBugbywfBrRTKaSHoFkJYENGBIWwrHDv/ncz1rBhdW CFKAR3Iol99T+jhsidms2vNIPcX5ASGmAs5vYlxsNk2bHwS/cPo1/pc6JV4jJNqbotg0ZbtQ9x vPLyNVPNVS7+wEpxH2jrAUXx+AKHCNWMzMyJJprO9xegEIejSWahfOuutzv0ZRzLYVD4n+L1zl MIHBxjNJ/1R9B6o+RyzsZQuFb4Is7b+jxl1jOcGRzYBHVhCcQsWTm2zQStHl0U1NzCZfz+xves hO+IDek4f3OusXHH1924f+Jq6pKGGm5K92trJqMZrvVODQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (iris.zentaur.org) smtp.remote-ip=198.58.127.206; dkim=pass header.d=zentaur.org header.s=dkim20200120 header.a=rsa-sha256; dmarc=pass header.from=zentaur.org; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1711582235; bh=Go2y4Lz3txrB0EakcSNiM0/xwNVQPJoT/jscw5cOHD4=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:To:Subject:MIME-Version:Date:Message-ID:DKIM-Signature: DKIM-Signature; b=HmeEc9tVln6LHz2tpAl/LTKqDB+8F9t6CUcySXzeDGYuwHFWc/RmsgJ5HPZo3iaJ6v2dZnjvGu Ztu96WfHt9+37xIY7M8k6IkKytXtUv/xIQlds7E/k4tWbuycF9M3EGHDVnlSqZq4GOgVg/z+qs KP7SBPdJkKmmWelaWF/jFLANjZSnKhC837+hDvKHa45gBThzFfiosjtyCS4th3PESbZZ2MQGb3 tkbsVv29/DkivAw3VJGGeVCZdzbdHIf28x5zPhZ7F9GAdcTibJloFsAOHHanpMA08EBMEzXl2C TajijJCgIapAHRwJ51J71a5tUXIQOa6qjnCly05wqd5A4g==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From :Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=n/ckzSzsf0dMRjmGC6UiI+rtiC2XYuJ9nDfz4EaNq2c=; b=ZrzyiA1KeGW9lie7TMyTHwmzCe /v3VcwIjt2Ruvn8tMssmgFuYXUW4Yll2qq6Zd8eSF5vH50+HfRtKVX64DSOHMgXmrDjnzQSAAi4OI paBQmZRsLcell7EpVfyYuILBnumBrKN3Xchq90TzBcRY8jFWSsU2tr+05i4DFAHv4nDYwQrFXom/a 21wH3mGMtPoHR+++U19WMaNo2M8lNoD/8OB5+DWAVZtF0USqP6PIozyLJtSg46XGvK248/Q4nyjib mKQ/hesquEjX3TArHYhdJXthtqiL5eV8kOOdbEmnU7zHRMOj45ZuhRp6BEYMrmnAceHEjZ/I3KZ00 QZx9Di0A==; Received: by zero.zsh.org with local id 1rpcj5-000IF8-7t; Wed, 27 Mar 2024 23:30:35 +0000 Authentication-Results: zsh.org; iprev=pass (iris.zentaur.org) smtp.remote-ip=198.58.127.206; dkim=pass header.d=zentaur.org header.s=dkim20200120 header.a=rsa-sha256; dmarc=pass header.from=zentaur.org; arc=none Received: from iris.zentaur.org ([198.58.127.206]:35884) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1rpcir-000HvU-8k; Wed, 27 Mar 2024 23:30:22 +0000 Received: from iris.zentaur.org (localhost [127.0.0.1]) by iris.zentaur.org (Postfix) with ESMTP id 4V4jZg6F1Gz3wZv for ; Wed, 27 Mar 2024 23:30:19 +0000 (UTC) Authentication-Results: iris.zentaur.org (amavis); dkim=pass (2048-bit key) reason="pass (just generated, assumed good)" header.d=zentaur.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zentaur.org; h= content-transfer-encoding:content-type:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version :date:message-id; s=dkim20200120; t=1711582219; x=1711585820; bh=Go2y4Lz3txrB0EakcSNiM0/xwNVQPJoT/jscw5cOHD4=; b=M6Htoqk6+SL4 BMLbS5mc7vH4B6h67nHBH6Zf11oDF17kx8n+rDzEZb0sopOTzSfnhQhVtgbF4Ygw nvrMdVIaxGCYEv+QoHMhymbtGgiv3WAMmpuEQipxN5rFXrAejy9q/jP6SNCVeKef oKITD6ab3CVhIHpTL5v4il9TK2DYVFLx1b65d/1trJOaUWA5/EaWdlCqJ+MYPRi2 sIk83zgqtr2swk3ICno6fUeNUvxWCgSHwz2Pfg/d/Z0r3FkEK7EN38NgZPM7J6Lq dE2SRRS7y2yf6RsI3yCj4wuX2Ztfe7pFs2JMpagCz2T4rqEA0aE45ib/RRHGz4Df pUWs/ra/0A== X-Virus-Scanned: amavis at iris.zentaur.org Received: from iris.zentaur.org ([127.0.0.1]) by iris.zentaur.org (iris.zentaur.org [127.0.0.1]) (amavis, port 10026) with ESMTP id xzypoaNwaCXb for ; Wed, 27 Mar 2024 23:30:19 +0000 (UTC) Received: from [IPV6:2605:a601:a57c:ee00::4000] (unknown [IPv6:2605:a601:a57c:ee00::4000]) by iris.zentaur.org (Postfix) with ESMTPSA id 4V4jZg3KNFz3wZt for ; Wed, 27 Mar 2024 23:30:19 +0000 (UTC) Message-ID: <8530c47b-a678-4a20-91dc-d750b900dfe1@zentaur.org> Date: Wed, 27 Mar 2024 18:30:19 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/1] zsh/random module Content-Language: en-US To: zsh-workers@zsh.org References: <33926-1711411180.228414@bsCA.-gfZ.3NP_> <5e230a1b-1656-4332-9335-a38d956dac80@zentaur.org> <45497-1711581491.091676@9sKB.jDYp.NqUn> From: Clinton Bunch In-Reply-To: <45497-1711581491.091676@9sKB.jDYp.NqUn> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Seq: 52835 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: 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 f= or. >> I'm not honestly sure what it stands for, I used it for compatibility >> with bash.=C2=A0 Possibly 'system'? > Checking the bash 5.1 release notes, you may be right but it isn't clea= r > 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=20 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 >