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=-4.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 14175 invoked from network); 1 Feb 2023 02:00:32 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 1 Feb 2023 02:00:32 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1675216832; b=RdxdrcEYwxyAHlXxIqLOnSxhghJsFdep9xMhsEwQB8Txw4Dsmn7iGJEQhtofk6LzT3UgB4tTi6 D3ynXcptN7+EOJQciybx0LGCoA6+mWvTgAWztHEasCYrQxsEe72M1V3IRQ/rn/Xmi9/pDeaQJ6 wnsXi7HUyM7smXKDw2jL8QtxvrsW2Kd1sEv2NBz8svJp8O0yoTu4vhi5hbYOTzIKzbsEUu9jIo x5ZM4g+doe5BS7W934p1/48S+/zyV8BzoftdCOFLiMkakhRiQdf3Aqt5B8N8QvbqzAd76pp2LT Y6V41db18UcW2tw3Tb1MXL3X6jfs1igPcgVJdfZSsdfATw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta03.eastlink.ca) smtp.remote-ip=24.224.136.9; 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=1675216832; bh=8uhjN0GmBNb2DxBJ877Oqg/Y9fVFJ2Ru4KWVedeL/6Q=; 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; b=lLK9AjX9g1iEH9wVYjt8AdyJbSQ4AI+QAHOMJYye7J12OU2B/sDnKmnmj77Atp3LLXescEML/X nN9LLjUZ17djPsuZfTh8VxHqos068DPSybNZjuVg2xEp15qhLlQk+aAAG1Q8RnrvuZHsFFIyZK RkqLGtLo4HWtTaCpQsBba0m09cFjr3fLAulRzemYGvgoxBKpKqWkL6TO46tIFIVgoOd3bCAizd JMa7trvWCqOCtNuniTlpXnrJ4FzDX65beYVh1c5si4P0PyGDR1150AI4nSwy6/sNYLrQ2S0/Ea cON14paop339RaBCHVFX+OfgpWHXIvIycWHEsxxcHg1emQ==; 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=bNkrQIcaGvqZUZMP6Mx6PLO9kBphYuKDP/DPLDGU8uM=; b=pSBckcXSs9gukeeWw0HBUBNuNN A6opp49hVJcI93xROYllwF2aVKHW8KFKtOXWalcjivESqzA0gciIVmDF0auzMOJE+22fnPV1u4W/1 VSr7XC6aD2AP/WvYfaC98gvwkeMRxTtub0aHh/2EEbVS8WpEpxfu9uutv94imtrmPk+aN0lDUlUKG /qoQOsdLLNRMQrUZ3x1yQsnVgaJWW3OpQhpJXdFI+STZK4iEP7u/bnCZFp6hZlCnpfDhP7xzOenRP 4dKrpPKtjYZiiNkEF+2YJgV28ATj+lGq10qifZIVYTOkla1ghARv7jkzgTQkcPUEdX/1DiX6UrjpU XpEpyjAQ==; Received: by zero.zsh.org with local id 1pN2QJ-000BpP-W2; Wed, 01 Feb 2023 02:00:32 +0000 Authentication-Results: zsh.org; iprev=pass (mta03.eastlink.ca) smtp.remote-ip=24.224.136.9; dmarc=none header.from=eastlink.ca; arc=none Received: from mta03.eastlink.ca ([24.224.136.9]:60732) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1pN2Pj-000B7c-R3; Wed, 01 Feb 2023 01:59:56 +0000 Received: from csp02.eastlink.ca ([71.7.199.167]) by mta03.eastlink.ca ([24.224.136.9]) with ESMTPS id <0RPD008UZNR23QP0@mta03.eastlink.ca> for zsh-users@zsh.org; Tue, 31 Jan 2023 21:59:54 -0400 (AST) Received: from [192.168.0.4] (host-24-207-18-108.public.eastlink.ca [24.207.18.108]) by csp02.eastlink.ca ([71.7.199.167]) with ESMTPSA id N2PhpQhayjOrIN2PipR8Gx (version=TLSv1_2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256); Tue, 31 Jan 2023 21:59:54 -0400 X-Authority-Analysis: v=2.4 cv=Kv6Lm0aN c=1 sm=1 tr=0 ts=63d9c79a a=xN66ZtSbq5jdJYpBp7G/jQ==:117 a=xN66ZtSbq5jdJYpBp7G/jQ==:17 a=IkcTkHD0fZMA:10 a=Uonl7-EFsgCMT0r4jN4A:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudefhedggeefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecugfetuffvnffkpffmpdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvfhfhjggtgfesthekredttdefjeenucfhrhhomheptfgrhicutehnughrvgifshcuoehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgeqnecuggftrfgrthhtvghrnhepiedtjeffvefgtdehgefgteekueeggeeitedutddvvdduteetffdvveelgfeukedunecukfhppedvgedrvddtjedrudekrddutdeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvdegrddvtdejrddukedruddtkedphhgvlhhopegludelvddrudeikedrtddrgegnpdhmrghilhhfrhhomheprhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepreerpdhrtghpthhtohepiihshhdquhhsvghrshesiihshhdrohhrghdpghgvthdqkghiphfrrghsshifugepthhruhgv X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Message-id: <06f23969-572a-fbb7-8801-fc17e7da3d2c@eastlink.ca> Date: Tue, 31 Jan 2023 17:59:53 -0800 MIME-version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: (j.|.) Content-language: en-US To: zsh-users@zsh.org References: <754f2048-2882-b7a9-560b-7c0564ac112b@eastlink.ca> <6240098f-7327-c73c-cbba-8bf4af5fce5c@eastlink.ca> <0810ab9b-ba5d-5b0c-1d63-a307573f1d22@eastlink.ca> <8a2bb99d-9ef0-b71d-f00f-96df346abc56@eastlink.ca> <5a5479bc-24ec-4d3b-9702-98b907c17440@app.fastmail.com> <20b89b79-11bb-13fc-2867-6bbb9b979c00@eastlink.ca> From: Ray Andrews In-reply-to: Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8bit X-Seq: 28883 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: On 2023-01-31 17:33, Lawrence Velázquez wrote: > > I don't know you're talking about. Just run "man zshexpn" and > search for "x|y". (You might have to escape the "|". Alternately, > search for "Glob Operators" and find it by eye.) I can find it by eye.  Yeah with man: 'x\|y' works, but I was using info and it doesn't work. Never mind. > > The flag is not limited to associative arrays. > > % foo=axaybxby > % print ${foo[(I)a?]} > 3 > % bar=(ax ay bx by) > % print ${bar[(I)a?]} > 2 > % typeset -A baz=(ax 1 ay 2 bx 3 by 4) > % print ${baz[(I)a?]} > ax ay > Cool.  So much power!