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=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from minnie.tuhs.org (minnie.tuhs.org [IPv6:2600:3c01:e000:146::1]) by inbox.vuxu.org (Postfix) with ESMTP id 9C63326428 for ; Mon, 17 Jun 2024 03:25:39 +0200 (CEST) Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id 4D3444330B; Mon, 17 Jun 2024 11:25:35 +1000 (AEST) Received: from mcvoy.com (mcvoy.com [192.169.23.250]) by minnie.tuhs.org (Postfix) with ESMTPS id 8F7FD432FF for ; Mon, 17 Jun 2024 11:25:31 +1000 (AEST) Received: by mcvoy.com (Postfix, from userid 3546) id 4F45135EA11; Sun, 16 Jun 2024 18:25:31 -0700 (PDT) Date: Sun, 16 Jun 2024 18:25:31 -0700 From: Larry McVoy To: Alexis Message-ID: <20240617012531.GE12821@mcvoy.com> References: <87msnl4ew0.fsf@gmail.com> <87iky84c23.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87iky84c23.fsf@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) Message-ID-Hash: QILKCJXPRM6YKL73K6H4MDMSFAJMNYV5 X-Message-ID-Hash: QILKCJXPRM6YKL73K6H4MDMSFAJMNYV5 X-MailFrom: lm@mcvoy.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: The Unix Heritage Society mailing list X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: Version 256 of systemd boasts '42% less Unix philosophy' The Register List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Mon, Jun 17, 2024 at 11:01:40AM +1000, Alexis wrote: > "Greg A. Woods" writes: > > >At Sun, 16 Jun 2024 15:48:15 +1000, Alexis > >wrote: > >Subject: [TUHS] Re: Version 256 of systemd boasts '42% less Unix > >philosophy' The Register > >> > >>Here's an excerpt from something i wrote > >>on the Gentoo forum back in April: > >> > >>> [[...]] the situation on > >>> Linux was a mess. Many of the (usually > >>> volunteers) who maintain packages for > >>> Linux don't want to have to learn the > >>> complexities of shell scripting and the > >>> subtle issues that can arise > > > >That pretty much says it all about the state of the GNU/linux world > >right there. > > > >In the "Unix world" everyone learns shell scripting, some better than > >others of course, and some hate it at the same time too, but I would > >say > >from my experience it's a given. You either learn shell scripting or > >you are "just a user" (even if you also write application code). > > i feel this comment is unfair. > > The specific thing i wrote was: > > >the _complexities_ of shell scripting and the _subtle issues_ that can > >arise > > [emphasis added] > > The issue isn't about learning shell scripting _per se_. It's about the > extent to which _volunteers_ have to go beyond the _basics_ of shell > scripting to learn about the _complexities_ and _subtle issues_ involved in > using it to provide _robust_ service management. Including learning, for > example, that certain functionality one takes for granted in a given shell > isn't actually POSIX, and can't be assumed to be present in the shell one is > working with (not to mention that POSIX-compatibility might need to be > actively enabled, as in the case of e.g. ksh, via POSIXLY_CORRECT). This is sort of off topic but maybe relevant. When I was running my company, my engineers joked that if it were invented after 1980 I wouldn't let them use it. Which wasn't true, we used mmap(). But the underlying sentiment sort of was true. Even though they were all used to bash, I tried very hard to not use bash specific stuff. And it paid off, in our hey day, we supported SCO, AIX, HPUX, SunOS, Solaris, Tru64, Linux on every architecture from tin to IBM mainframes, Windows, Macos on PPC and x86, etc. And probably a bunch of other platforms I've forgotten. *Every* time they used some bash-ism, it bit us in the ass. I kept telling them "our build environment is not our deployment environment". We had a bunch of /bin/sh stuff that we shipped so we had to go for the common denominator. I did relax things to allow GNU Make, there were some features that they really wanted and that is build environment, so, shrug.