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 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 32185 invoked from network); 7 Dec 2022 01:05:30 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 7 Dec 2022 01:05:30 -0000 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:Subject:To:From:Date:References:In-Reply-To:Message-Id: Mime-Version:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=nFQfkCWh3RnYh283j3cm5R6uDWjYiRaDXIRq8IHe2qs=; b=Yn09MhUFxseTYv0RWhOUvyaoln SQarqWIx26g1TodDB2LlmxpQPEOwAX7CGLA+fyxDUXPi1SLTFASwFN5x8KPbyujzLDzCgrGXS7eV9 3o/wTKBBElndOJ632sHaEz4gnNQTOmUWzb32oSPiYS/Tjls09iMq/ODvPp3NVlce4jckp61scK/2Q gTogyUFxeT3rfGJuaHueBnj/A0miauf7hICf9pQr8+43muwbf7iZq4NA+HuRSEaqJt4eRHUMinN+U gFzScxcJe+IqSAhGYmKyx//7DttB5tLq1rEc8AF4IB+96bFuPT6jZketKMDBbjU1F7Ew8kCpEjAR9 hbsx1ihg==; Received: by zero.zsh.org with local id 1p2isL-000MGJ-LD; Wed, 07 Dec 2022 01:05:29 +0000 Received: by zero.zsh.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1p2irk-000LYw-3I; Wed, 07 Dec 2022 01:04:52 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailauth.nyi.internal (Postfix) with ESMTP id 5E58827C0060 for ; Tue, 6 Dec 2022 20:04:48 -0500 (EST) Received: from imap48 ([10.202.2.98]) by compute1.internal (MEProxy); Tue, 06 Dec 2022 20:04:48 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudejgdeftdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgfgsehtqh ertderreejnecuhfhrohhmpefnrgifrhgvnhgtvgcugggvlhojiihquhgviicuoehlrghr rhihvhesiihshhdrohhrgheqnecuggftrfgrthhtvghrnhepgfffgefhheejgedtiedtve egheegheejfefffeeffeeigeeuvddtgedtteduueefnecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomheplhgrrhhrhihvodhmvghsmhhtphgruhhthh hpvghrshhonhgrlhhithihqdduudehudekjeejtdegqdduudelvdejfeekhedqlhgrrhhr hihvpeepiihshhdrohhrghesfhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: Feedback-ID: iaa214773:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 1C3FC31A0064; Tue, 6 Dec 2022 20:04:48 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-1115-g8b801eadce-fm-20221102.001-g8b801ead Mime-Version: 1.0 Message-Id: In-Reply-To: <21586f92-9a78-419c-84e5-f203a6f069b6@app.fastmail.com> References: <54bcd6dd-e589-4696-f042-1155b78df9d2@eastlink.ca> <819c9630-f315-8b1c-cb52-3d3ae8de2d5c@eastlink.ca> <7eadf163-da34-d90b-61ce-b527fb75b597@eastlink.ca> <37b2456f-0459-4b85-74d1-bb380715e2ed@eastlink.ca> <21586f92-9a78-419c-84e5-f203a6f069b6@app.fastmail.com> Date: Tue, 06 Dec 2022 20:04:27 -0500 From: =?UTF-8?Q?Lawrence_Vel=C3=A1zquez?= To: zsh-users@zsh.org Subject: Re: The elements of enlightenment Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Seq: 28515 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 Tue, Dec 6, 2022, at 6:52 PM, Lawrence Vel=C3=A1zquez wrote: > FWIW, ksh has a ${ list;} construct that avoids a subshell: > > $ cd / && pwd > / > $ : "${ cd /tmp;}" && pwd > /tmp > $ : "${ cd /usr }" && pwd > /usr > > Amusingly, the archaic $[...] is still used for arithmetic expansion. > It's even documented! (Other shells have memory-holed it.) To clarify my sloppy editing: The last paragraph is about zsh. Other shells also support legacy $[...] but pretend it doesn't exist. --=20 vq