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=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 7732 invoked from network); 30 Dec 2022 20:33:19 -0000 Received: from minnie.tuhs.org (50.116.15.146) by inbox.vuxu.org with ESMTPUTF8; 30 Dec 2022 20:33:19 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id ED8D4423AD; Sat, 31 Dec 2022 06:32:44 +1000 (AEST) Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) by minnie.tuhs.org (Postfix) with ESMTPS id 21D9C423A2 for ; Sat, 31 Dec 2022 06:32:39 +1000 (AEST) Received: by mail-pj1-f45.google.com with SMTP id c8-20020a17090a4d0800b00225c3614161so19646955pjg.5 for ; Fri, 30 Dec 2022 12:32:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=B4axQLgSoFf4RGzk95xnX5raL1o9rQOFRVCjR9KhcRI=; b=jhouEpDE6570PmSNjk6EVKTB0mLc8eZ93h7cuxnrUnx5onL/03e+IJjMAr8IAVgqv8 OWl3JUFAxK+yJgeY+uELapcczNloeXrOm/CRnhHuFfTxkOJCxfBvEvxQbLmPUjZLX8CJ 8xHcq62nnC6A61s9yg/g7mcm+uOJz+BEvyxYTJcncfyLznBWHtFXsfEZ6T3s/u+Tw45s zMbmRUkEao7ZZxa701xTzR7QPeFlrMxlMdTUMGJTUjLbJWYFeX5uaeMMDpIUmsUGGBXJ 6arLmNbvbDlmOGKe2IoKHdfsNDh+ekoupis7MxutPTIGqsGrGxFPH5483POUjvRtYHcz u+hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=B4axQLgSoFf4RGzk95xnX5raL1o9rQOFRVCjR9KhcRI=; b=hh0PhI1HcBqY0/wz6lL389TjLDlnK323sAnIocZ2ekjpdFNyipSLU3Q6V9ITDTNB6Y B1G/KVLA2+/cuWO2yOMtqoyZcM+hZolaPL0lynuukv695mLb23THim4o9KBqSEC0GaQt WR0KRVqCa2TlWRVeNgPvcoTRmPI2UXe+mhx6hT3zg4uirR7tEDgwzz1lQoztD2oym/4R XyB210on+PhZPgXgsWBvazaZLPLRtHuiXr1y7nEWTU6jKewwhfyckYPWw0Wu7H/HabcM azrZ6tNKrgtqa1KtXRhUAS2CdxjpvQcJWkKqE8TTGFjRPFPYE0GXAIblsynJylOXyADe uG9g== X-Gm-Message-State: AFqh2kpasbjx8MmtY2HhpBPpKcChyUNDhi9bmmjcSYsVKX9D+eYjNQkk xDJmWIFEW7299U/Sr6gy4UI= X-Google-Smtp-Source: AMrXdXsFKo2a34hWqQs7qUV0B/fTl4hrVBN+MhMjK2p61lUSd0VUI3ruLRBKm/DdooBf6gBlS+McyA== X-Received: by 2002:a17:903:228a:b0:191:271f:4789 with SMTP id b10-20020a170903228a00b00191271f4789mr46243001plh.27.1672432298501; Fri, 30 Dec 2022 12:31:38 -0800 (PST) Received: from smtpclient.apple (ip98-165-124-124.ph.ph.cox.net. [98.165.124.124]) by smtp.gmail.com with ESMTPSA id d15-20020a170903230f00b0018975488514sm14201248plh.126.2022.12.30.12.31.37 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Dec 2022 12:31:38 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.300.101.1.3\)) From: Adam Thornton In-Reply-To: <20221230200246.GW5825@mcvoy.com> Date: Fri, 30 Dec 2022 13:31:24 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <983B3B28-F6C2-4CDF-A9FC-B15F67E14619@gmail.com> References: <52FB6638-AEFF-4A4F-8C2E-32089D577BA0@planet.nl> <464819f0-d2f6-2a60-6481-a194f4428b4d@case.edu> <20221230200246.GW5825@mcvoy.com> To: Larry McVoy X-Mailer: Apple Mail (2.3731.300.101.1.3) Message-ID-Hash: RY4QAMI3IPMPWLXZ6GCDOOKMCYMVXMQR X-Message-ID-Hash: RY4QAMI3IPMPWLXZ6GCDOOKMCYMVXMQR X-MailFrom: athornton@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-tuhs.tuhs.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Paul Ruizendaal , The Eunuchs Hysterical Society X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: A few comments on porting the Bourne shell List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: > On Dec 30, 2022, at 1:02 PM, Larry McVoy wrote: >>=20 >=20 > Is there are reason to hang on to the Bourne shell? Maybe shell = scripts? > Does it perform better than ksh or bash? POSIX sh seems like a good lowest-common-denominator shell to write for = (sorry, SunOS and xpg4). >=20 > Don't get me wrong, I much prefer the sh syntax over csh syntax, but=20= > I'd never go back to the Bourne shell as my login shell. Way too much > useful stuff in ksh/bash. I mean I would assume the reason is that bash takes a whole lot more = memory and CPU to do its very convenient magic. That's an issue if = you're trying to run on a PDP-11 and only have 16 bits of address space, = but in 64-bit-world, where you almost certainly have at least half a = gigabyte of core storage available, and your processor clock is almost = certainly in at least the high hundreds of MHz...yeah. Although (because my daily driver is a Mac) I've finally taken the zsh = plunge. I feel a little dirty, but oh-my-zsh certainly has its = attractions. Adam