From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI,PLING_QUERY, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from minnie.tuhs.org (minnie.tuhs.org [45.79.103.53]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 3ad77938 for ; Mon, 21 Oct 2019 02:37:35 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id DC8E19B921; Mon, 21 Oct 2019 12:37:34 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 1E44993D8D; Mon, 21 Oct 2019 12:37:23 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=tuhs.org; s=dkim; t=1571625447; bh=q4z15ergDsh927DJr2SwOcR/OrCV7qUWrIJZsDHKxQY=; h=Date:From:To:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Hr9eyydyjkUXSGOrUa4ToEqZjI0CPretQhvCcD4zNDUrw7CqS7bEFasOyGURoORnz FnsCqqjGHU8MxoVJGYaFRyrAtqgC5nI7i6Ihs+1FDig2NQVxqZ62kfqXiLZT/34mC9 RwvW5cBSI4Pq6ZT5T7QRWPxoVKIbeSzyNvAQipjI= Received: by minnie.tuhs.org (Postfix, from userid 1000) id 193AD93D8C; Mon, 21 Oct 2019 12:37:20 +1000 (AEST) Date: Mon, 21 Oct 2019 12:37:20 +1000 From: Warren Toomey To: Ken Thompson via TUHS Message-ID: <20191021023720.GA12808@minnie.tuhs.org> References: <1571599556.22415.for-standards-violators@oclsc.org> <20191020201219.GA5035@mail.ewe2.ninja> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Subject: Re: [TUHS] What was your "Aha, Unix!" moment? 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" On Sun, Oct 20, 2019 at 07:31:55PM -0700, Ken Thompson via TUHS wrote: > i was writing the small utilities for the first > pdp-11 unix. (rm ls date ....) > > so, cd was next. > > % pwd > /usr/ken > % cd /tmp > % pwd > /usr/ken > > Aha! As in, 'cd' has to be built into the shell. If it's external, the forked child gets to change directory and the parent shell doesn't. I'm just putting this in for those who didn't spot the nuance immediately -- took me a few tens of seconds. But wasn't "chdir" built into the PDP-7 Unix shell? Thanks, Warren