From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from zero.zsh.org (zero.zsh.org [IPv6:2a02:898:31:0:48:4558:7a:7368]) by inbox.vuxu.org (Postfix) with ESMTP id B210825F33 for ; Mon, 11 Mar 2024 08:54:05 +0100 (CET) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1710143645; b=i96qjw/eaUI+sryJO8UB9ROu6LfvQxj3KVAVsN1PndrwV21mz5qvtsnDLBUWhaMtXQMk5ngm7C LflqDtRcOyfuHxnAuIdG0QuQSAdCADKmUnC8gzWpDMCwoxxPd3eyee3JnbGq6HYd+E/qFW7KUV hUkfVUB8CVX3TGxWx4ocU8mGf1zIIEwx4s1PEJmdZy73tHH9TlhIae+bZJH2IwBHML1djn0Ysj m4o//8J/y59qx4rimsebQcP4eoatqucxCFzSBrHOngNXmGMCcy+++tSPss1mGmPoyIZtzo1oS9 0csJ3psNevFu2l4Et0LJL7Ukh4hCTeUFiv1zjZOErfJ3nA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (relay7-d.mail.gandi.net) smtp.remote-ip=217.70.183.200; dmarc=none header.from=chazelas.org; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1710143645; bh=JdUQuQ7FzFKXzg4wjdKIHrnyTtEwtXIH0Q4g7p5YY+c=; 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:Cc:To:From:Date:DKIM-Signature; b=LAH2ZaQwASF4g2TrufmOCyoYUtlN3OjSehAu9VtcQnlaImVFneYFTWwiUI8R0CqUcH2G/dgmM/ dioy+NqZu9Y5ddhvF+iHjHyzB3JxdlKRbcBUVM0JhRwSQGeQsShTOWtjWnYBYltifdWqwVOtbL 3E5tj7Jd2vcJvD+1aDn6sw19OGMkuydWCrGlxMk77Qxse+nnGL9Z4tUA52fi6kZ89ldrD6vCJp uXCubTI4TBHLNq6r6usUpv/Dv7c4rhXdxJ1SJaWIKzIJ4KgDzyrkmlGoEoUTNaENw5KKNDhBkV Y2GHnG2p4kuz0N4MFbWifi4SqpgW1bev/jZYvTwq7XdGVg==; 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:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=9a9FEh1mfzeKVSdiMhe+HTcMdNPYl2IJPmDdxSlkvN8=; b=SJwUpmm+XltyFedbHYChi4/OUL LYh033y6OQrrKgzMApvGIOO+hFeWzkNkKcxwAixFSxv4WyBSO+A1x00QV5Mzd3Nb85CO4s2Igw1Lk gQA2BXzm9poxw/suqjoWm8U/ZhCio6ReGgqfjy0ZV21Yoo2TKV+LYiNd83fduOaE9E2TBvEtwPeNS OVdr/WrXw3RfoxTYjqr0Xz00Qz5sMwgRFWPxgEdZHw+LinLie0l3IjEs7k0H0VuQ1riwKibRYs2Y9 jG7DfUAqP2zzZpxDNCS2t3pU/B+QSzCBBqix5Ct9tiNgRZ8gDfHYOen1cY0wSYGQ8IWOLH/F8s72n OzHQpFvQ==; Received: by zero.zsh.org with local id 1rjaU0-00030K-By; Mon, 11 Mar 2024 07:54:04 +0000 Authentication-Results: zsh.org; iprev=pass (relay7-d.mail.gandi.net) smtp.remote-ip=217.70.183.200; dmarc=none header.from=chazelas.org; arc=none Received: from relay7-d.mail.gandi.net ([217.70.183.200]:52853) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1rjaTJ-0002HW-Q6; Mon, 11 Mar 2024 07:53:22 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id 32DBD20005; Mon, 11 Mar 2024 07:53:19 +0000 (UTC) Date: Mon, 11 Mar 2024 07:53:19 +0000 From: Stephane Chazelas To: "Mark J. Reed" Cc: zsh-users@zsh.org Subject: Re: Why would I use .namespace.myvar? Message-ID: <20240311075319.6gty6gfxumciraob@chazelas.org> Mail-Followup-To: "Mark J. Reed" , zsh-users@zsh.org References: <20240309143036.xwqm234mtu5wqh2r@chazelas.org> <20240310121359.iuhmf5renmuf6y4z@chazelas.org> <6c783297-aa25-4ff6-8233-185a281a074f@eastlink.ca> <8b8064f6-1310-4d01-804c-ee78ace9b730@app.fastmail.com> <2e33aeab-865a-48cc-8f31-4916d4a0c604@eastlink.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-GND-Sasl: stephane@chazelas.org X-Seq: 29735 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: 2024-03-10 19:53:05 -0400, Mark J. Reed: > On Sun, Mar 10, 2024, at 6:16 PM, Ray Andrews wrote: > > > BTW interesting to learn that ksh is still in active development, I > > thought it was on > > ice, like bash. > > > Around twenty years ago, AT&T moved ownership of ksh to their open source > arm, the AT&T Software Technology group (AST), which maintained it as an > open project on GitHub. Quite a few approximations in there (some and omissions at https://en.wikipedia.org/wiki/KornShell as well actually). Github didn't exist 20 years ago. ksh93's code was released as OpenSource around 2000. The code could be downloaded from AT&T research (http://www.research.att.com/sw/download/). See https://web.archive.org/web/20001205164600/http://kornshell.com/ AFAICT, the move to github (and to using git for revision control) didn't happen until 2016. > As with prior releases, the year of the major > release (and corresponding edition of the book) was kept as the "major > revision" number Though contrary to ksh85, ksh86, ksh88 before it, ksh93 was a rewrite from scratch and significantly incompatible. > while subsequent releases incremented an alphabetic > suffix. The last AST release was 93u, released in December 2012 - the 23rd > release of the 1993 version of ksh. https://github.com/att/ast/blob/2016-01-10-beta/src/cmd/ksh93/RELEASE or https://github.com/ksh93/ksh93-history/blob/master/src/cmd/ksh93/RELEASE Ksh93u was released on 2011-02-08, and stable development carried on with two(!) "releases" tagged ksh93u+, and one ksh93v- beta release with a bunch of new, unstable and more experimental than ever features. As there's been some k+, n+... releases, ksh93u is rather the 29th (ksh93a being the second). > After that the codebase was dormant > for a while. Then in 2019 a developer got excited about reviving the > project and updating it. If you're referring to Kurtis Rader, he was active starting around early 2018. > They started with the in-progress incomplete 93v > release, which they called "93v-" It was already called v-, v hadn't been released. > but the result was dubbed "ksh 2020". > 2020 had some bug fixes and improvements, but the code changes were > substantial, performance suffered, there was a lot of drama on the project. > I saw accusations that the new developer was hacking and slashing the > codebase without taking the time to understand it or listen to those who > did. I wasn't paying enough attention to know how valid the criticism was, > but the drama seems to have been enough to torpedo the project. However, if > you run "brew install ksh93" on macOS, 2020.0 is what you get to this day. > > Then some of the 2020 contributors decided to start over from the AT&T > source code, backporting the bug fixes from ksh2020 onto the > last-known-stable 93u, and building up from there. Their approach is to > tread carefully and not do anything drastic. That effort has given us the > ksh93u+X/1.x.y versions, most recently ksh93u+m/1.0.8 at the end of last > year; 1.1.0 is expected soon. No, AFAIK, the m is for Martijn Dekker aka McDutchie, who's at the initiative and main contributor of that new main stable development. He's or at least used to be a contributor to these zsh mailing lists as well, and might be able to give more insight if he's still around here. > The GNU folks haven't been idle, though. The latest official bash release > is 5.2, from 2022, but the patchlevel is up to 5.2.26, and there have been > commits as recently as this week on the devel branch. > > There are still at least bugfixes going into ash and dash (and busybox, > whose sh is based on ash), too. So yeah, Zsh is far from the only > Bourne-family shell still seeing active development. [...] Not to mention yash, mksh (MirBSD and Android shell) and the sh of other BSDs (based on pdksh like on MirBSD or OpenBSD or ash like on NetBSD or FreeBSD). yash despite being much younger could almost be considered to have overtaken bash in terms of feature level. -- Stephane