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.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 32723 invoked from network); 26 Sep 2021 06:14:22 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 26 Sep 2021 06:14:22 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1632636862; b=pNdwtdgrjTLP+yoL1lSEw2cSu2gqlt4rh4ZMEenNmfSDrWTZKbcf/dv6E5tBl1YB+49NjbdvUz HX1wGIFkh2ZHSbO0UjzWjSruA5y6A1snvDl69IkSHng9qqG/pJ7/UF6m6ERfjOtRwgFN4GN7xh Nyb6h8jX9P4maWycYNatvOGlY4k3yFXDVdpCesZRfSROlRp1j4uENaXNU1SNq7F2+8YfAeD8Gn OHPnb6c+s9LjIy+wxJdhbn+mPG9jgYfRPnEmhBYA2cptihh3EvzQUy1KiR3MHRF0MbvGgjnwcX 1Q98Io/vkp7dm3Y3mWuQyUenjG+RkuGw09iPYMLeSYZM8g==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mx.spodhuis.org) smtp.remote-ip=94.142.241.89; dkim=pass header.d=spodhuis.org header.s=d202107e2 header.a=ed25519-sha256; dkim=pass header.d=spodhuis.org header.s=d202107 header.a=rsa-sha256; dmarc=pass header.from=spodhuis.org; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1632636862; bh=HB0c59/0Qh2U3jHc7mpe2X+32rEpEAU/T7wV6x+6YPo=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:To:From:Date:DKIM-Signature:DKIM-Signature:DKIM-Signature; b=U6qAFAHKD1qQ4j10QJf+b/Sq/wJ+j/Pa87OyuiXacJRwPqtPHbP+F2cJWPOGOvJvJi7yG928LF Glf+GaZuWotSVxVBqFwUGZwOzWByCVNJijZNc6BF6DPPc//E5bUX3pmHwVBSPZjkvRyaiDr77J LlY3RVRehBi+eh1lfPtvPWIFTj/sbhqFg1Sl6IrD9JS2rFCr2lDRQS/lp1gK4SZDFWNFKKH73y DoqEhfgRD1nrrMnFX844AtLhZCYdQ4co8DwZDyYfNQq/xHwivXMI7k51+p95DpXxL3njrj9vdP pxfLtfAFLAuUyQrBmlANIDzT6OYA1Y5fFqUZ7zYg1WM4bw==; 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:Content-Type:MIME-Version :References:Message-ID:Subject:To:From:Date:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=qc5U0J41F/5akVhsCpXO9qqo0a3DesEYHdjHYPgYsb4=; b=jUXe/KLkOE83bVW2p7ei2G8Jq2 tDfvUJjXjSRJ6UkzeRHDtp+9tZ46LyJE+rytd9NEll6WePEEtrPitPlmW4Zxr28nuCE0f1OXcqGP5 igmW/Ub0yFB0YZvEnOONchsD+aL3+mCjqjZSbmyX1tpxfaKhP7srOywVcYBUoN207/Nsky26RZ1yA AK0otHBcpeGqb2O0yYhQgHUdiLUxeGun3xlZn6/gqNTZqTeQKa1ZXHeDqbhT9QwNm1l1+5m+N4th0 nNSdXxrXO6+ojBREQcb8WtRREfwLF7YFc/aJZIgzHVGB4Hes4SLBcZjqKgmSzlfQrEmu6dC5d5l6i 0sxkS/uQ==; Received: from authenticated user by zero.zsh.org with local id 1mUNQa-0002lN-Dt; Sun, 26 Sep 2021 06:14:20 +0000 Authentication-Results: zsh.org; iprev=pass (mx.spodhuis.org) smtp.remote-ip=94.142.241.89; dkim=pass header.d=spodhuis.org header.s=d202107e2 header.a=ed25519-sha256; dkim=pass header.d=spodhuis.org header.s=d202107 header.a=rsa-sha256; dmarc=pass header.from=spodhuis.org; arc=none Received: from mx.spodhuis.org ([94.142.241.89]:38055) (DNSSEC AD) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1mTXN1-000N8w-OM; Thu, 23 Sep 2021 22:39:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=spodhuis.org; s=d202107; h=OpenPGP:In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:From:Reply-To:Subject:Date:To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:OpenPGP:Organization :Auto-Submitted; bh=qc5U0J41F/5akVhsCpXO9qqo0a3DesEYHdjHYPgYsb4=; t=1632436751; x=1633646351; b=F61fRiV7atsg3/SwsU5eznB8HmUG5aV+wmVVAElnP8x3EaB iC4082WtUpbXFqcccd6+W/NrNTmbgQfPdknUlDjPLRySUMX6VOCpIOJUoL5AVYIrNU5l6ZdN1jbFu 2+x7EmIaghDNenrHJ5lQjei2A+BuJszffvYm0EIrnOc8r8VBZDCdeYsuoFRedjbTI0svtc44J1M9f 4Hc1KlIyGwJsD+2y1P+GoTVVyofdt55ZflJdYVqjq35U8VijxzxP/YRbRIR4Y4iAFlKqogWu8Ha7e rjHqTA03YHv1lOpuBR2OOnFLn+rWn9sSUjSTDnvuT4fa213yfK0Sb49fx1tYlrKA==; DKIM-Signature: v=1; a=ed25519-sha256; q=dns/txt; c=relaxed/relaxed; d=spodhuis.org; s=d202107e2; h=OpenPGP:In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:From:Reply-To:Subject:Date:To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:OpenPGP:Organization :Auto-Submitted; bh=qc5U0J41F/5akVhsCpXO9qqo0a3DesEYHdjHYPgYsb4=; t=1632436751; x=1633646351; b=GsWDjXPmvqUd8DK5oaqyPf30oV37Ns0k/LDjJkKjL8bBcbL gtSimFAn3SnWHX7yBVkv2go1X+etoJpf+hzZbAg==; Received: from authenticated user by smtp.spodhuis.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1mTXN0-000N8n-M1; Thu, 23 Sep 2021 22:39:10 +0000 Date: Thu, 23 Sep 2021 18:39:08 -0400 From: Phil Pennock To: zsh-users@zsh.org Subject: Re: Multi-element zstat Message-ID: References: <20210922005142.GA4135@tarpaulin.shahaf.local2> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210922005142.GA4135@tarpaulin.shahaf.local2> OpenPGP: url=https://www.security.spodhuis.org/PGP/keys/keys-2013rsa-2020cv25519.asc X-Seq: 27132 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 2021-09-22 at 00:51 +0000, Daniel Shahaf wrote: > How about extending the syntax to permit specifying multiple elements, > in which case only those will be shown? > Looping over the one-element syntax isn't convenient when multiple file > targets are passed. Ditto grepping the output. > > Just looking for consensus on the direction at this point; not planning > to implement this immediately. No objection, but since you only list two of the approaches, have you considered whether or not using the -H option will suit your needs? for F in *(D.); do zstat -nH st -- "$F" print "$st[mode] $st[uid] $st[gid] $st[name]" done -Phil