From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: tuhs-bounces@minnie.tuhs.org X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) 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,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.1 Received: from minnie.tuhs.org (minnie.tuhs.org [45.79.103.53]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id c65fc6b7 for ; Sun, 1 Jul 2018 11:53:06 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id DAB3FA1843; Sun, 1 Jul 2018 21:53:04 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 30DEB9E5C1; Sun, 1 Jul 2018 21:52:25 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 2C34B9E5C1; Sun, 1 Jul 2018 18:29:35 +1000 (AEST) Received: from bagheera.alchemistowl.org (bagheera.alchemistowl.org [185.15.93.23]) by minnie.tuhs.org (Postfix) with ESMTPS id 7AEC49E5BF for ; Sun, 1 Jul 2018 18:29:32 +1000 (AEST) X-Virus-Scanned: amavisd-new at bagheera.alchemistowl.org Received: from f.1.2.1.2.0.a.2.static.wline.lns.sme.cust.swisscom.ch (f.1.2.1.2.0.a.2.static.wline.lns.sme.cust.swisscom.ch [IPv6:2a02:121f:224:10:146c:e481:9dd0:770f] (may be forged)) (authenticated bits=0) by bagheera.alchemistowl.org (8.16.0.21/8.15.2) with ESMTPSA id w618St1R044017 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 1 Jul 2018 08:28:55 GMT Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\)) From: Arrigo Triulzi In-Reply-To: Date: Sun, 1 Jul 2018 10:28:53 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <3386fb80b5282f7bca0ccf34252182c2398232c1@webmail.yaccman.com> <5D272962-0063-4D28-B551-F381D3D10239@alchemistowl.org> To: Dave Horsfall X-Mailer: Apple Mail (2.3445.8.2) X-Mailman-Approved-At: Sun, 01 Jul 2018 21:52:22 +1000 Subject: Re: [TUHS] Any Good dmr Anecdotes? X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: The Eunuchs Hysterical Society Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" On 1 Jul 2018, at 07:29, Dave Horsfall wrote: >=20 > On Sat, 30 Jun 2018, Arrigo Triulzi wrote: >=20 >> As I was told this visitor was the R in the =E2=80=9CK&R=E2=80=9D = book I felt I could finally ask =E2=80=9Csomeone who knew=E2=80=9D how = printf() worked with a variable number of arguments. >=20 > It wouldn't've used that awful nargs() call at that time, would it? I = was glad when that horror was removed. I was about 10 at the time, I hope you will excuse me for not recalling = this detail. I just recall the way that he used my =E2=80=9Carrows in = the street=E2=80=9D to explain how printf() walked through the argument = list carrying an arrow on its shoulder, then did what it had to do until = it got to the end of the street. As you can probably imagine it is still = how I visualise the workings of printf() to this day. Note that this was = pure K&R, pre-ANSI C varargs. Arrigo