Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Unset and $empty[(i)] and $empty[(I)] -- worth the effort?
- X-seq: zsh-workers 47758
- From: Phil Pennock <zsh-workers+phil.pennock@xxxxxxxxxxxx>
- To: Felipe Contreras <felipe.contreras@xxxxxxxxx>
- Subject: Re: Unset and $empty[(i)] and $empty[(I)] -- worth the effort?
- Date: Thu, 24 Dec 2020 14:06:07 -0500
- Archived-at: <https://zsh.org/workers/47758>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2020-12/X%2BTmnyof3XE662sm%40fullerene.field.pennock-tech.net>
- Authentication-results: zsh.org; iprev=pass (mx.spodhuis.org) smtp.remote-ip=94.142.241.89; dkim=pass header.d=spodhuis.org header.s=d202011e2 header.a=ed25519-sha256; dkim=pass header.d=spodhuis.org header.s=d202011 header.a=rsa-sha256; dmarc=pass header.from=spodhuis.org; arc=none
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=spodhuis.org; s=d202011; h=OpenPGP:In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Reply-To:Subject:Date:To: Cc:Content-Transfer-Encoding:Content-ID:Content-Description:OpenPGP: Organization; bh=0sWatFUQTUEUlHnreSHAnVEKhwL2PaExdKER2+7JNec=; t=1608836773; x=1610046373; b=mwK/2zx5kJeMJk3Gh9x3xe3MOHyvfg4P7Q9VTRF0pszHN6afaDZlAFPYNk/t RMbyTioNb5C2boUpZNe5A96vbuGDJuX7qXmbaGBFPxWNql/VShiZVdIBJvlRY9lDbnHemrscoK8A3 GDriWQ3D4DplIs4iK8LJgBUNd6aXryn0iQE93H1UktxKd0hMZKEOj8HfEDxEhIJRft7/FVWBr8IoV 9HH2CkhdxD78YXwkBHVwVKA2vuFnSm0X14R5cUCoey3LduL9GnWTZknc0X+o9TB7yDEKCnCj0fKHu 9su0Yc5BCItTH5Boj5E8cbscoZ8xQdioWU2oL8Rtmq2+zNZIlFQ==;
- Dkim-signature: v=1; a=ed25519-sha256; q=dns/txt; c=relaxed/relaxed; d=spodhuis.org; s=d202011e2; h=OpenPGP:In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Reply-To:Subject:Date:To: Cc:Content-Transfer-Encoding:Content-ID:Content-Description:OpenPGP: Organization; bh=0sWatFUQTUEUlHnreSHAnVEKhwL2PaExdKER2+7JNec=; t=1608836773; x=1610046373; b=2QoWHAC17ESB/DwPNl6nwqR2jYthLLRdxy9+hgK/mVo2LKsPfkiE6OAmTm4c LZUDyHMRdySTHTWPSop9L36UDg==;
- In-reply-to: <CAMP44s1h2=B1N35bpuBXfChnSkErGzCkAoRwZ-g9rBvTf3CKrw@mail.gmail.com>
- List-archive: <http://www.zsh.org/sympa/arc/zsh-workers>
- List-help: <mailto:sympa@zsh.org?subject=help>
- List-id: <zsh-workers.zsh.org>
- List-owner: <mailto:zsh-workers-request@zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-subscribe: <mailto:sympa@zsh.org?subject=subscribe%20zsh-workers>
- List-unsubscribe: <mailto:sympa@zsh.org?subject=unsubscribe%20zsh-workers>
- Openpgp: url=https://www.security.spodhuis.org/PGP/keys/keys-2013rsa-2020cv25519.asc
- References: <CAH+w=7aQNk4g6y2NZC0skZg+1RxKZH5GAXM1Gi6PUYi58Aa27g@mail.gmail.com> <CAMP44s1h2=B1N35bpuBXfChnSkErGzCkAoRwZ-g9rBvTf3CKrw@mail.gmail.com>
- Sender: zsh-workers-request@xxxxxxx
On 2020-12-23 at 17:04 -0600, Felipe Contreras wrote:
> True. I misunderstood what $arr[(i|I)] did, and I can't find any
> documentation about them.
zshparam(1), "Subscript Flags".
It's sometimes a little confusing that most of the expansion flags are
in zshexpn(1), except these.
-Phil
Messages sorted by:
Reverse Date,
Date,
Thread,
Author