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=-1.0 required=5.0 tests=MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 11876 invoked from network); 22 Dec 2021 14:41:20 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 22 Dec 2021 14:41:20 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 616529CECB; Thu, 23 Dec 2021 00:41:17 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 7897A9CC01; Thu, 23 Dec 2021 00:40:59 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 669369CC01; Thu, 23 Dec 2021 00:40:58 +1000 (AEST) Received: from oclsc.com (oclsc.com [206.248.137.164]) by minnie.tuhs.org (Postfix) with ESMTP id AE8E29CC00 for ; Thu, 23 Dec 2021 00:40:57 +1000 (AEST) Received: by oclsc.org id D460F4E697; Wed, 22 Dec 2021 09:40:56 -0500 (EST) Received: by oclsc.org id A6BF3640CC6; Wed, 22 Dec 2021 09:40:56 -0500 (EST) To: tuhs@tuhs.org Message-ID: <5D8BA976A496FD8E3AEFB6C9153250F0.for-standards-violators@oclsc.org> Date: Wed, 22 Dec 2021 09:40:56 -0500 (EST) From: norman@oclsc.org (Norman Wilson) Subject: Re: [TUHS] ksh88 source code? X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" Thomas Paulsen: bash is clearly more advanced. ksh is retro computing. ==== Shell wars are, in the end, no more interesting than editor wars. I use bash on Linux systems because it's the least-poorly supported of the Bourne-family shells, besides which bash is there by default. Ksh isn't. I use ksh on OpenBSD systems because it's the least-poorly supported of the Bourne-family shells, besides which kh is there by default. Bash isn't. I don't actually care for most of the extra crap in either of those shells. I don't want my shell to do line editing or auto-completion, and I find the csh-derived history mechanisms more annoying than useful so I turn them off too. To my mind, the Research 10/e sh had it about right, including the simple way functions were exported and the whatis built-in that told you whether something was a variable or a shell function or an external executable, and printed the first two in forms easily edited on the screen and re-used. Terminal programs that don't let you easily edit input or output from the screen and re-send it, and programs that abet them by spouting gratuitous ANSI control sequences: now THAT's what I call retro-computing. Probably further discussion of any of this belongs in COFF. Norman Wilson Toronto ON