From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 16717 invoked from network); 2 Jan 2021 14:58:14 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 2 Jan 2021 14:58:14 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1609599494; b=HA72WwgyhZH4WHnkePO28kOAbVMzb4gx9PpGsb/z8tt9Ul+ykdzrlomU7eDphF+UmsjMG2gPu1 KxBU3OwoGbRbACZvVhWJx3SVslYSWl4UMkVaYAK1uB+PrX6cFzjNNQ4jL8ukQQhVBKs8KkpUIE +sybTSg8rS6YljSiVYNTAVsUQOFJjNI6OEkEW+mHNieI+eQp9tvtN4MHGwIbmpuh8qwGKc2shv rBlxVaMJT3S2+RvW8pBwwtFPetk6hIa7lYMtnAadHF4J6cHuSAi87tPlHtAtOPoVoB8vj7J8US LidPU+au/XSwPXZqjk1PuwG72G8ZSvyqxFAEBRk2wT8LYw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta01.eastlink.ca) smtp.remote-ip=24.224.136.30; dmarc=none header.from=eastlink.ca; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1609599494; bh=gUQNUS4s8w3pRVi5J6fpr3X3vptm4AjIsCPd2EwVvOo=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:MIME-Version:Date: Message-ID:Subject:From:To:DKIM-Signature; b=Gld98rnEzxz+iYWYRN99ClaX5I4XZR3dnf7NnOCfH/JIqKjPwfUzHLXLXX1K+z40nC/1VV2JBk SKKjX8HaKvXg5ttjMf20FyP7tdqIuU3x1DM2L2qyD7wFjg+l2YQh2VqHg5FvWLChe17qP4Zzgr y70c2RxvAzsE3x4BrN/CCQbIn2rAeOj0XjsPMVh1ENDjAFN5Bx4EF63dQ2ShWx5xKRPGhOo9Dm uqHsZsPz0hEo35zhso7y4HxY3KRkA5xmDwzMnwBQFvqa4gJGhs5ThI8wFtRrDgpKYRCeoqkWby ZmNrFoLGULdZog2857gVA/CIMRmqRRjsXJmQg2ga/xHQXA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-transfer-encoding: Content-type:MIME-version:Date:Message-id:Subject:From:To:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References; bh=kezEr57PmqOpz1QBMTGaEuKt4skO9QHgN3hZ8p1eTn0=; b=sG4w67bq/IgKE1sH279X+oqdRw DKqdwEerSVG7Z834q7qX/yvUopSUG+xPsHbfvNy2yjzxf6FWiI+ArXZ/SOOtwQ8pb3T23SlQDRhbL CjWyM52M9HrLmE2yUPuWuH9pV6rzpwtGXoo3f1VjXdEmJK0n2QXh7/zrwDMKHxOBYH9wcXvR/LVyD 65M5x7Ussi5Ib7FfyTWcjmFlW7dlP9A+r+vyGZr8HJ09Ngf3MskZ0F0CJ7uBGrqsAwb+VtH6MG1Kf HcrE7/FmxeydgcBYKimbexqD6sxuaf57rNTNfiGTWgOpl4JtqhQt9bUWLYRXJY0xA7i4OeCDMp3l+ AZrrHxJA==; Received: from authenticated user by zero.zsh.org with local id 1kviM8-0007Au-CZ; Sat, 02 Jan 2021 14:58:12 +0000 Authentication-Results: zsh.org; iprev=pass (mta01.eastlink.ca) smtp.remote-ip=24.224.136.30; dmarc=none header.from=eastlink.ca; arc=none Received: from mta01.eastlink.ca ([24.224.136.30]:47667) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1kviLY-0006nJ-0a; Sat, 02 Jan 2021 14:57:37 +0000 Received: from csp02.eastlink.ca ([71.7.199.167]) by mta01.eastlink.ca (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) with ESMTPS id <0QMB00KXWABI9T60@mta01.eastlink.ca> for zsh-users@zsh.org; Sat, 02 Jan 2021 10:57:33 -0400 (AST) Received: from [192.168.0.2] ([24.207.90.194]) by Eastlink with ESMTP id viLUkr7dGeJNSviLVkWdzJ; Sat, 02 Jan 2021 10:57:33 -0400 X-Authority-Analysis: v=2.4 cv=Aat0o1bG c=1 sm=1 tr=0 ts=5ff089dd a=zv49KfEsxEDzuN5AGO7r0Q==:117 a=zv49KfEsxEDzuN5AGO7r0Q==:17 a=IkcTkHD0fZMA:10 a=8sAOLj9M9G5CRAzb3pYA:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvddvledggeejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecugfetuffvnffkpffmpdfqfgfvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefvhffukffffgggtgfgsehtkeertddtfeejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpeetvefgtdfgueegveduhfelffegteegheeugfegveehkeeftdehjedugedutddtheenucfkphepvdegrddvtdejrdeltddrudelgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvgedrvddtjedrledtrdduleegpdhhvghloheplgduledvrdduieekrddtrddvngdpmhgrihhlfhhrohhmpehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgdprhgtphhtthhopeiishhhqdhushgvrhhsseiishhhrdhorhhg X-Vade-Score: -100 X-Vade-State: 0 X-EL-IP-NOAUTH: 24.207.90.194 To: Zsh Users From: Ray Andrews Subject: syntactic trivia Message-id: <565cd2e7-c999-5735-4089-a56870713432@eastlink.ca> Date: Sat, 2 Jan 2021 06:57:32 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-version: 1.0 Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: 8bit Content-language: en-US X-Seq: 26292 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: Archived-At:         [ "$case" = 'insensitive' ] && dirs=( (#i)$1*(/N) ) \                                     || dirs=(     $1*(/N) ) Since '(#i)' is a modifier of the globing would not this be more intuitive?:     dirs=( $1*(/N#i) ) Just to understand it, I'm wondering why case filtering would be syntactically different from the other filters. Speaking of intuition:     [ true ] && do-this\    # No comments here, please.              || do-that I wonder how much trouble allowing that would be.  Probably written in stone that it will never happen, still, it's an obvious exception and I'd guess it would only take five minutes to code, the parser just throws out any comment before throwing out the backslash and the newline.  A tiny luxury.