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, HTML_MESSAGE,MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 7757 invoked from network); 1 Dec 2021 17:27:35 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 1 Dec 2021 17:27:35 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1638379655; b=Ro7nbfrzHExBTlqJ6+DbRFNH243WxunPEnQsn8qjyQE5OTdL7sHw00mJbmjHyAsOLEzTj+ZoRJ NFDNcSztinowAFyG+QRrmM8UVpcuIshf+PBBSIFFVXRbuZO/dzjh3D/R9In6uYKuLcvTm/jwQu NzsKsA8A99aN2m0JaVhTIjXiwhIbhS261kfsA0LoV8HxQTGqdsBBMZ9sGBoIeoZXuL2p0ZGbfz r20R1vdq4Mbb+S7b8bGEvO8Na9QPhF8CBlwypSGqJf4qQeH0R+GBbG7+U3trjGIBKmjnGicD3L 7Z8oBZzesnqoGmjgOj7ryxZFXTpLDbOOTw1mVkMdq6NA2A==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (p3plsmtp15-05-2.prod.phx3.secureserver.net) smtp.remote-ip=173.201.193.42; dmarc=none header.from=rayninfo.co.uk; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1638379655; bh=75jW3oWO0t1OKwOOOHPFra9DdKn9Sjw7I+PQ0i2QO1Q=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:DKIM-Signature; b=EwNgFfrMH/ePSVfEgFd6h4fRKpBNweCTEmFe33AaO+7NkxILDipdCDY29qsCxvFgHepHT5MemY 5FnfC+pDE6sRAwb/L7GG3SmgFJ48SHjIpZGDxkbR4jvKg00QRcPYK3PLYKVU6bUzDzbkImV8CS RIR1Tqdu+i5g3+pkEVsgcqCHonJaaHgKUpf8jnKR1srB6cxsSnn7R9xXIT/11EMh05WoR9WmEO e+CyBkQcbjjL+rOhNTL7nrjOwb+VuuExIh5rNQNyiKoFrGuU7+kmxvaiptYPms8ddlVxSmmSyh YWKF0chqXazwAWShF0zlztwEJE2PrWCAJtF8S1eHD+S9+Q==; 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-Type:In-Reply-To:MIME-Version :Date:Message-ID:From:References:To:Subject:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=xY2Ymthz5r1XMAo33+GxvG/EtJKKtT3VPLlBebI5IEA=; b=F2J5v4LdtecsAAXSqLXeGUbL5k 3swJ2ciT415DAK6dp7hh63VBoV16NSaP4vHI1PY3dxzaLTndsNcgJmdetvmCw+sY9cL1oSNMXR9E0 MDF15vQwOFTJ8/+MqoWJmxwYS60VXI9R8wNUVqLNreCxNPwZA81RYXlIAVBMSsn7wr0IDcuTldMEE a6fxIsBUbaEO0DFSX/MlX9YKG2T3Xz930pvOvK4oHO+Sgej70D+5xXvypnX6ZKx30n/EE55UelvOv WsnOwaKJ6dWZDToGWkhZRcx+2UQXqy1Me+geRwDzGUqbu55lnEp+gp4QApWaAwOCx9jCCSMBsCRg0 /r/wr5GA==; Received: from authenticated user by zero.zsh.org with local id 1msTOH-00024x-ER; Wed, 01 Dec 2021 17:27:33 +0000 Authentication-Results: zsh.org; iprev=pass (p3plsmtp15-05-2.prod.phx3.secureserver.net) smtp.remote-ip=173.201.193.42; dmarc=none header.from=rayninfo.co.uk; arc=none Received: from p3plsmtp15-05-2.prod.phx3.secureserver.net ([173.201.193.42]:41353 helo=p3plwbeout15-05.prod.phx3.secureserver.net) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1msTNa-0001OX-3m; Wed, 01 Dec 2021 17:26:51 +0000 Received: from mailex.mailcore.me ([94.136.40.143]) by :WBEOUT: with ESMTP id sTNXmPXYtcvo8sTNYmJRll; Wed, 01 Dec 2021 10:26:48 -0700 X-CMAE-Analysis: v=2.4 cv=a6/1SWeF c=1 sm=1 tr=0 ts=61a7b058 a=EhJYbXVJKsomWlz4CTV+qA==:117 a=OssDsk9G85aCAkpGkbX/mA==:17 a=hse1R2ekSGEA:10 a=IOMw9HtfNCkA:10 a=r77TgQKjGQsHNAKrUKIA:9 a=2SFPG8pxAAAA:8 a=NaAzqPtbAAAA:8 a=oqLX1GnxAAAA:8 a=aJLoDDCEEhgZ6kgc41wA:9 a=QEXdDO2ut3YA:10 a=84S-S5nSUisA:10 a=pGLkceISAAAA:8 a=NOqa5BE_AD1QuGblO_MA:9 a=RTc1pDvlNJIKYtaV:21 a=_W_S_7VecoQA:10 a=KEx_LieEtGtjvQYenGzl:22 a=_wfKOZxBEJqKGgwPhIHZ:22 a=-OLB4RIvx0J8iZFDVoPi:22 X-SECURESERVER-ACCT: david@rayninfo.co.uk X-SID: sTNXmPXYtcvo8 Received: from [95.145.222.195] (helo=[192.168.1.231]) by smtp05.mailcore.me with esmtpa (Exim 4.94.2) (envelope-from ) id 1msTNW-0006cg-JG for zsh-users@zsh.org; Wed, 01 Dec 2021 17:26:46 +0000 Subject: Re: Zsh Rosetta Stone / ExplainShell equivalent To: zsh-users@zsh.org References: From: zzapper Message-ID: Date: Wed, 1 Dec 2021 17:26:46 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------265F0C8339A25893A7E881E1" Content-Language: en-US X-Mailcore-Auth: 8308408 X-Mailcore-Domain: 840527 X-123-reg-Authenticated: david@rayninfo.co.uk X-Originating-IP: 95.145.222.195 X-CMAE-Envelope: MS4xfM2Ikk2I2FF+hX8SiBB76GnqKUEUG31UsY43y/u6BmYSjHJR52h8y6JU+UrO5myurUGg1C8f66e3fwnPVuieCnsXJpFdLJHT8gfjiwvn0TxRwxcKA5HD 6MqN7LML66RELp4swN+poFvPpCvFU+EvcNL3bTRHWf/49wlD2Iovtbh62nwp8UKlLkg/FnB/tQGY0A== X-Seq: 27409 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: This is a multi-part message in MIME format. --------------265F0C8339A25893A7E881E1 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 24/11/2021 02:58, Zach Riggle wrote: > Has anybody written a "zsh wtf" style tool where a complex expression > is annotated, similar to "explainshell.com "? > > The more I learn about Zsh, the more obscure and hard-to-read my code is. > > $ command date > Tue Nov 23 20:17:53 CST 2021 > > > $ ls -la *(.Dmm-3) > -rw-r--r-- 1 zachriggle staff 0 Nov 23 20:17 file_10 > -rw-r--r-- 1 zachriggle staff 0 Nov 23 20:15 file_8 > -rw-r--r-- 1 zachriggle staff 0 Nov 23 20:16 file_9 > > Zach I recovered the following page from the old zsh Wiki website from the wayback machine *http://zzapper.co.uk/charindex.html* * * *I always found it useful for decoding zsh syntax* * * *Along with* * * *http://www.bash2zsh.com/zsh_refcard/refcard.pdf* * * *zzapper * * * ** --------------265F0C8339A25893A7E881E1 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit


On 24/11/2021 02:58, Zach Riggle wrote:
Has anybody written a "zsh wtf" style tool where a complex expression is annotated, similar to "explainshell.com"?

The more I learn about Zsh, the more obscure and hard-to-read my code is.

$ command date
Tue Nov 23 20:17:53 CST 2021

$ ls -la *(.Dmm-3)
-rw-r--r-- 1 zachriggle staff 0 Nov 23 20:17 file_10
-rw-r--r-- 1 zachriggle staff 0 Nov 23 20:15 file_8
-rw-r--r-- 1 zachriggle staff 0 Nov 23 20:16 file_9

Zach I recovered the following page from the old zsh Wiki website from the wayback machine



I always found it useful for decoding zsh syntax

Along with


zzapper


--------------265F0C8339A25893A7E881E1--