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 20650 invoked from network); 2 Jan 2021 15:31:17 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 2 Jan 2021 15:31:17 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1609601477; b=XjJNvlZXTMtjz4kgjiLAv5HvOiNIx9b53IUZSXu1mKTQaHUczBvIrn4XJhCqZDezmUlC0rimYZ jWYZmunIy93isfSCmGgiJVYu/mhc1op9V0HCS6XYdtpr5gdBzJ6ncP54fNHgv4OdV/3a7LuT3f po3E0q/sgefzNnXqUyCSjp0CvR68z14jJ0APz1JYDrZmTJm7h0GSf5V8s34+EHf0iu+ueTNLUW 8tmWG47YKYO5798TVKOyjMzXspTBq86l1VUWwP6uO7KmQXhq5aixianwZUpbjlr6lIgwZaowj3 tNbb7ucMCjjdUd9nTNRe2xe3WpC7zf9ExL2K2V3m7qt8TA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (relay10.mail.gandi.net) smtp.remote-ip=217.70.178.230; dmarc=none header.from=chazelas.org; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1609601477; bh=tMK1xI4Bqh6uAsyl0qrltzRUCQ1H8Ca2btxalEeMZAE=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:DKIM-Signature; b=ZqDKvUSvn+6FdtE3MT7qSrPxDAdyVKSa/lYXqN6gJmfVEefxfg+a/geR0mwMXa3DWNFtzn9euE MMdCFAHSxRY79tE8qSxnDBctmhzROBBPt8XyLGmJ381m+WxslHBEmxxUHsxnFiPc11Sm7L6Lfu +6ZaBnl+a4nO9YMSYCNRIey4ghbS/GHHQANvfiJE+giT2pqUU5eFTAUxn3hvqcA9+y4Sj4F6Xi D7oB8CYXPku73QLLH29HEepD69qmO8hnueCHb7qJnWT7yHIavgrk84aUBj1sPxlbrapUqLo/cn 5SEGkU35BdWAibY5Gt+7lWn7IuVhDQurbuKiuKTCmp1TiQ==; 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:In-Reply-To:Content-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID; bh=ALbszemi5dIlEEtiVVWca0Y34TdH7hTvExqQGLR55KM=; b=LoZQ9vrvEDxq1LXthlTOpwLQ2G htvUu6kLxJr14//V9Q1EA+lGnbXGpxDvL7RdFrufXVzTp7wyjqtzTZuv0s7ew5tT5dH+GZ1QeKkau yrh5AE7ZX5s3cOFNOr9vYyD8FP27a3jCtcGKJFWAR+y2XJr1V7m/7c1STY52pXzgmSN2QN7RwOBjt uwOLt9UGoGNW5+oDAQqSh0n+Xkk+PR9TH64mBow1EjGBceNJ7Vi2gjkIWXzCLICVGCMBQo9dMn6Il 13vK9TXdfIIVxNY8lU9A6XaJq+q5+HejKqIFu0u3D12bwQcE+8+kNZpmoRXjUdqAxPkfYO3oo2eLd GT74Xdqw==; Received: from authenticated user by zero.zsh.org with local id 1kvis6-0008VJ-3J; Sat, 02 Jan 2021 15:31:14 +0000 Authentication-Results: zsh.org; iprev=pass (relay10.mail.gandi.net) smtp.remote-ip=217.70.178.230; dmarc=none header.from=chazelas.org; arc=none Received: from relay10.mail.gandi.net ([217.70.178.230]:57797) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1kvirZ-00088u-Dp; Sat, 02 Jan 2021 15:30:41 +0000 Received: from chazelas.org (unknown [94.10.124.211]) (Authenticated sender: stephane@chazelas.org) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 0EBE6240004; Sat, 2 Jan 2021 15:30:39 +0000 (UTC) Date: Sat, 2 Jan 2021 15:30:39 +0000 From: Stephane Chazelas To: Ray Andrews Cc: Zsh Users Subject: Re: syntactic trivia Message-ID: <20210102153039.4k35q567uteqeh2u@chazelas.org> Mail-Followup-To: Ray Andrews , Zsh Users References: <565cd2e7-c999-5735-4089-a56870713432@eastlink.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <565cd2e7-c999-5735-4089-a56870713432@eastlink.ca> X-Seq: 26293 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: 2021-01-02 06:57:32 -0800, Ray Andrews: >         [ "$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. [...] (#i) can be applied to part of a pattern: [[ $x = ((#i)insenstive)-sensitive ]] -- Stephane