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.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, 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 1918425251 for ; Mon, 6 May 2024 15:02:19 +0200 (CEST) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1715000539; b=L549FmJDB4VP7i/KRRFpOdskYVzojRndUnUlU4c1BSyNF9r8RkRdFK4Sg6ujc2Qx4bC0qQ4GbG X15bLrR9GDJfXrWZSzUnIO995Ub7w0YqEBTn0sHY9s724gJc9KFbxUQ4JSvLuXYCppQS8Dp37m ouZNzT5IvDIBqB9y9PPzXMw9SiEt2woqpjfT95Gv1pRIQ8r5GEZLrbOe1VdjlAwlKp5YMRdoV/ T2CDUyKp21yysEAtIqFexM9jpgtW5J0IU3BcX0hp0OygMSgm/7o7CEZ3lQWtBQ5W/RlalG1XgY Io3E4jRkSkwt5zQkqthLyoEx6GIIryOSG39GnqEc1Fq5ZA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta04.eastlink.ca) smtp.remote-ip=24.224.136.10; dmarc=none header.from=eastlink.ca; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1715000539; bh=MEA7Mk3RaGre9qE4bqswzlNa1HTUxth+LzV3Gt/rkdM=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:From:References:To:Subject:MIME-Version:Date: Message-ID:Content-Type:DKIM-Signature; b=jgQGzB9uG51mPoBcEJs5qRUCJ+xaoihOi+Ygp5gzWo5QpTcJnt6wtwe/h8NEwZ2oMG/d8PqhIP kWLd+VQPBCQDyQ1KP6yMsAzv6/SsOwmW2NV7VvOpzDNeBdPaBLx6VAGeObBD6kKOQZ2jhfv/NC J/fZORYk9CjPSaIoezYE/pAgWswE2JDtOuMDPhjDfzX2FqpxrevVzKYXbsK/GOZH3oEMTxS9WJ xWgKafKEc22XHgSoRHFNe/nSad1zTiWCqY1cpeyAwV2hPAZ94klBzoE0saf9CW69G8cYrj1GXR sxW97bva3rqTFLeiVrjsNlEgw9JDFa0T3S4V7cuK5x90JQ==; 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:In-reply-to:From:References:To: Subject:MIME-version:Date:Message-id:Content-type:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=UP5vnvzHBdz7Ohuv0+Jt+K5Et4b+hsgOV9IxI2i0g3s=; b=ln8/ZS6mH/ZQ8RS6CluhaIy8tP JSRe8FgCNV71F0SqQ1lk07ay45X/497BkDnQ//XfJnysZveHAspGE6CJCZGzrFYneYfSsg1bBd+rq 0jYyIkFJvMl8RgFngek5kbAs1FiRGsMLK39LRdVFlo2PlZl1wURvHOpDj4uUkCN2/UkiRx5nCVQiy tP0RUNC+s61Ff/belqZ5aWTJOfx6d7OfrGLzs1VYIK0pfCMxCRGDB4U1kQiutcvMulBu0rdjS3WiR /COcb3x8GUWzxljLGYHX/hCubfeLO6nsnljC0UveWSwPPz0kChabAWNYkzXb0ghNPLlE+3SfBbcGr bHXJXJlA==; Received: by zero.zsh.org with local id 1s3xz0-000LUR-4C; Mon, 06 May 2024 13:02:18 +0000 Authentication-Results: zsh.org; iprev=pass (mta04.eastlink.ca) smtp.remote-ip=24.224.136.10; dmarc=none header.from=eastlink.ca; arc=none Received: from mta04.eastlink.ca ([24.224.136.10]:42539) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1s3xy8-000KpO-CS; Mon, 06 May 2024 13:01:24 +0000 Received: from csp02.eastlink.ca ([71.7.199.167]) by mta04.eastlink.ca ([24.224.136.10]) with ESMTPS id <0SD20X2FKEL7XXB0@mta04.eastlink.ca> for zsh-users@zsh.org; Mon, 06 May 2024 10:01:05 -0300 (ADT) Received: from [192.168.0.11] (host-24-207-19-13.public.eastlink.ca [24.207.19.13]) by csp02.eastlink.ca ([71.7.199.167]) with ESMTPSA id 3xxosZ9ZJxAjx3xxos0WlN (version=TLSv1_2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256); Mon, 06 May 2024 10:01:05 -0300 X-Authority-Analysis: v=2.4 cv=EfprQ+mC c=1 sm=1 tr=0 ts=6638d491 a=e7T7DzMKK1R988ZCg0wLyw==:117 a=e7T7DzMKK1R988ZCg0wLyw==:17 a=r77TgQKjGQsHNAKrUKIA:9 a=6RjM4j_4wqivzLXaB_sA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=pGLkceISAAAA:8 a=bZq_l9qEh8zhV5eUrpQA:9 a=3tR_tX2-LhySXxBa:21 a=_W_S_7VecoQA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvddviedgheelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecugfetuffvnffkpffmpdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurheptgfkffggfgfuvfhfhfgjsegrtderredtvdejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpefhteethfevgeeuvdelgefgvdevudefueduffdvgfelvddvgfdtieegueeuleeifeenucfkphepvdegrddvtdejrdduledrudefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvdegrddvtdejrdduledrudefpdhhvghloheplgduledvrdduieekrddtrdduudgnpdhmrghilhhfrhhomheprhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepreerpdhrtghpthhtohepiihshhdquhhsvghrshesiihshhdrohhrghdpghgvthdqkghiphfrrghsshifugepthhruhgv X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Content-type: multipart/alternative; boundary="------------ed6iBpMroZyx31yA2RzlvXZp" Message-id: Date: Mon, 6 May 2024 06:01:03 -0700 MIME-version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: nesting issue To: zsh-users@zsh.org References: <8d597bb5-39c8-4544-ad1a-907a79bf4cba@app.fastmail.com> <086da1ef-79dd-448d-b463-01895df2866f@eastlink.ca> <58741215-7c41-4230-8eb5-6556bd969140@app.fastmail.com> <6cfb08f8-ee3d-40fa-be88-cb10882bc1d0@eastlink.ca> Content-language: en-US From: Ray Andrews In-reply-to: X-Seq: 29910 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: This is a multi-part message in MIME format. --------------ed6iBpMroZyx31yA2RzlvXZp Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2024-05-05 20:22, Bart Schaefer wrote: > Version sorting is yet another thing entirely, see > Functions/Misc/is-at-least for example. > A superb summary Bart.  It's why I don't get too worried  about it because there are so many possible interpretations.  I don't want to waste list time on it much.  I am curious about what zsh (or sort) is doing tho: aaa,6, aaa,6a aaa,6a,howdy aaa,6,howdy I'm expecting the last line to be second because comma precedes 'a' irrespective of what happens in column 7.  But really, don't waste time on it.  In practice I'm quite happy with '(n)'. --------------ed6iBpMroZyx31yA2RzlvXZp Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

On 2024-05-05 20:22, Bart Schaefer wrote:
Version sorting is yet another thing entirely, see
Functions/Misc/is-at-least for example.

A superb summary Bart.  It's why I don't get too worried  about it because there are so many possible interpretations.  I don't want to waste list time on it much.  I am curious about what zsh (or sort) is doing tho:

aaa,6,
aaa,6a
aaa,6a,howdy
aaa,6,howdy

I'm expecting the last line to be second because comma precedes 'a' irrespective of what happens in column 7.  But really, don't waste time on it.  In practice I'm quite happy with '(n)'.

--------------ed6iBpMroZyx31yA2RzlvXZp--