From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE,RDNS_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 Received: (qmail 11391 invoked from network); 20 Mar 2020 21:57:49 -0000 Received-SPF: pass (minnie.tuhs.org: domain of minnie.tuhs.org designates 45.79.103.53 as permitted sender) receiver=inbox.vuxu.org; client-ip=45.79.103.53 envelope-from= Received: from unknown (HELO minnie.tuhs.org) (45.79.103.53) by inbox.vuxu.org with ESMTP; 20 Mar 2020 21:57:49 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id EFF7D9D55B; Sat, 21 Mar 2020 07:57:45 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 0E7119CDA9; Sat, 21 Mar 2020 07:57:29 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 24C4F9CDA9; Sat, 21 Mar 2020 07:57:27 +1000 (AEST) Received: from viclamta36p.bpe.bigpond.com (viclamta36p.bpe.bigpond.com [203.38.21.100]) by minnie.tuhs.org (Postfix) with ESMTPS id B94B79CD87 for ; Sat, 21 Mar 2020 07:57:25 +1000 (AEST) Received: from smtp.telstra.com ([10.10.26.4]) by viclafep36p-svc.bpe.nexus.telstra.com.au with ESMTP id <20200320215723.HSCL19125.viclafep36p-svc.bpe.nexus.telstra.com.au@smtp.telstra.com> for ; Sat, 21 Mar 2020 08:57:23 +1100 X-RG-Spam: Unknown X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedugedrudeguddgudehfecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfupfevtfgpvffgnffuvffttedpqfgfvfenuceurghilhhouhhtmecugedttdenucenucfjughrpeffhffvufgjkfhffgggtgesthdttddttdervdenucfhrhhomhepffgrvhgvucfjohhrshhfrghllhcuoegurghvvgeshhhorhhsfhgrlhhlrdhorhhgqeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduuddtrddugedurdduleefrddvfeefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheprghnvghurhhinhdrhhhorhhsfhgrlhhlrdhorhhgpdhinhgvthepuddutddrudeguddrudelfedrvdeffedpmhgrihhlfhhrohhmpeeouggrvhgvsehhohhrshhfrghllhdrohhrgheqpdhrtghpthhtohepoehtuhhhshesthhuhhhsrdhorhhgqe X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean X-RG-VS-CLASS: clean Received: from aneurin.horsfall.org (110.141.193.233) by smtp.telstra.com (5.8.418) id 5E72B9D70063AFA5 for tuhs@tuhs.org; Sat, 21 Mar 2020 08:57:23 +1100 Received: from aneurin.horsfall.org (localhost [127.0.0.1]) by aneurin.horsfall.org (8.15.2/8.15.2) with ESMTP id 02KLvMFU028569 for ; Sat, 21 Mar 2020 08:57:22 +1100 (EST) (envelope-from dave@horsfall.org) Received: from localhost (dave@localhost) by aneurin.horsfall.org (8.15.2/8.15.2/Submit) with ESMTP id 02KLvLVW028566 for ; Sat, 21 Mar 2020 08:57:22 +1100 (EST) (envelope-from dave@horsfall.org) X-Authentication-Warning: aneurin.horsfall.org: dave owned process doing -bs Date: Sat, 21 Mar 2020 08:57:21 +1100 (EST) From: Dave Horsfall To: The Eunuchs Hysterical Society In-Reply-To: Message-ID: References: <20200320140308.4FBBB18C073@mercury.lcs.mit.edu> User-Agent: Alpine 2.21.9999 (BSF 287 2018-06-16) X-GPG-Public-Key: http://www.horsfall.org/gpgkey.pub X-GPG-Fingerprint: 05B4 FFBC 0218 B438 66E0 587B EF46 7357 EF5E F58B X-Home-Page: http://www.horsfall.org/ X-Witty-Saying: "chmod 666 the_mode_of_the_beast" MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Subject: Re: [TUHS] The most surprising Unix programs 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 Fri, 20 Mar 2020, Richard Salz wrote: > A cool thing about tools is that you never know how it will be used. Indeed. I once wrote a shell script that basically acted as an n-way "cut" i.e. you specify the columns you wanted to extract and they ended up on the corresponding file descriptors. Ran into all sorts of bugs, as the "obvious" solution didn't work. > Bach's prelude in C major from Well-Tempered Clavier book I, written in pure > (GNU) sed: https://github.com/laserbat/bach.sed I have the Towers of Hanoi written in sendmail.cf, meaning that Sendmail is Turing-complete :-) I can't remember who wrote it. -- Dave