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, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 5386 invoked from network); 1 Dec 2020 09:28:07 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 1 Dec 2020 09:28:07 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id A35419C226; Tue, 1 Dec 2020 19:28:05 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id B7C879C204; Tue, 1 Dec 2020 19:27:21 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 70EB79C204; Tue, 1 Dec 2020 19:27:17 +1000 (AEST) Received: from minun.buric.co (minun.buric.co [51.15.8.196]) by minnie.tuhs.org (Postfix) with ESMTP id C53FC9C203 for ; Tue, 1 Dec 2020 19:27:15 +1000 (AEST) Received: by minun.buric.co (Postfix, from userid 1000) id 08CEF35C0FC6; Tue, 1 Dec 2020 10:27:09 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by minun.buric.co (Postfix) with ESMTP id CFF6B35C0FB7 for ; Tue, 1 Dec 2020 04:27:09 -0500 (EST) Date: Tue, 1 Dec 2020 04:27:09 -0500 (EST) From: Steve Nickolas X-X-Sender: mary@sd-119843.dedibox.fr To: tuhs@minnie.tuhs.org In-Reply-To: Message-ID: References: <8b580c46-ecfb-9383-ed43-08108b3ee7bf@tllds.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-2060838238-1606814829=:32369" Subject: Re: [TUHS] The UNIX Command Language (1976) 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" This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-2060838238-1606814829=:32369 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT On Mon, 30 Nov 2020, jason-tuhs@shalott.net wrote: > >> "The UNIX Command LanguageĀ is the first-ever paper published on the Unix >> shell. It was written by Ken Thompson in 1976." >> >> https://github.com/susam/tucl > > Thanks for that. > > This reminded me that the Thompson shell used goto for flow control, which I > had forgotten. > > Bourne commented on the omission of goto from the Bourne shell, "I eliminated > goto in favour of flow control primitives like if and for. This was also > considered rather radical departure from the existing practice." > > Was this decision contentious at all? Was there a specific reason for goto's > exclusion in the Bourne shell? > > > Thanks. > > > -Jason My personal opinion is that the way the Bourne shell handled flow control is a lot easier to code for (since I wrote a version of COMMAND.COM, and it has to have a "goto" command, and all the hairiness that goes with needing to be able to random-seek a shell script). -uso. --8323329-2060838238-1606814829=:32369--