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=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 26030 invoked from network); 4 Dec 2020 11:34:32 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 4 Dec 2020 11:34:32 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 7B2059CA75; Fri, 4 Dec 2020 21:34:24 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id BA00E9CA4F; Fri, 4 Dec 2020 21:33:50 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="uXLm9Myx"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 399139CA4F; Fri, 4 Dec 2020 21:33:47 +1000 (AEST) Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) by minnie.tuhs.org (Postfix) with ESMTPS id B3D5C9CA4B for ; Fri, 4 Dec 2020 21:33:45 +1000 (AEST) Received: by mail-wm1-f49.google.com with SMTP id f190so6772778wme.1 for ; Fri, 04 Dec 2020 03:33:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=SqKq4V0A/JEDQFY9h0BKDnVM+MRLl+CjpZJdxOtrpHQ=; b=uXLm9Myxm4FuRFdYFn/LlMtv4ktvEdydG0EmPEFdIg2dH9AXEu9t2jTmHknRsU+u/E 0z7ldcxXhDH1pxVSPKr4B8ULFnFpGT1sNviXWJTnglCSJd+hUK1vqOY5BviQOh0QRL5g dpL4/jInPNPC8A3TkkxRytzSFateiwYqJYzj2RDKLsQVBkTord8/NoyM0y3vyl7ICG+s tek9CLX0VooLjd/BBmXkloRl94vMnkv8bKpI0W2saNFLPSV2hLZy2SOJPZhXl26HvX2z wrh/alyreGPMOfWK3ii724h9OZW9eGaPJDx39AQGU6YWoLnrIJVPw9YYcDnIq4qRJaU9 9xjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=SqKq4V0A/JEDQFY9h0BKDnVM+MRLl+CjpZJdxOtrpHQ=; b=kPVMkmSgbWuUu6LFMxjOteZQHGprTdCiCBI8UeuLcmVsyCOcqktZMdH2L6QcHAa/kL L7hbRlfVoLyLr/FPaO72T9mbexVVOksBwWnFPUHxa3KrxgKX8TUR4fsKxasH2cDkGzJz 17Zue/97+CKxUVPyGxhPym99ewpUqmaBPBuozzEJAhh2RquaUSjpZvLmzK/0u+kGZCls 5Y0gqWpbSG5nW9Y4GpwOBiySzf0KCcQVeMplobcJW4+u0qPI61MTzVrntik0s8700Lrz 4eSVWstiuCs+m0LHAMiszC+GfgQbWrWu8GHuaS7P+Alax0YK2G/CVERpvYZ1T5abGnz2 itSA== X-Gm-Message-State: AOAM531yEMywUJ3FO2GT8lRVn7k2I61ebMNzanw1wlnwDns2uakgTEUv wtTQ25vsxJq5xTqHPIFzP51TqacPzKmi45LwWfs= X-Google-Smtp-Source: ABdhPJyo8ckiVvncc4ZoaW72h3AM/qAaVS+0SApqHcd50VEb6KDRfFYV7bnFszVrA6prA+ojik6uSquvD0ZzhQYwh88= X-Received: by 2002:a1c:3dd6:: with SMTP id k205mr3679225wma.128.1607081624379; Fri, 04 Dec 2020 03:33:44 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a5d:574d:0:0:0:0:0 with HTTP; Fri, 4 Dec 2020 03:33:43 -0800 (PST) In-Reply-To: <202012040927.0B49Rkx6019895@freefriends.org> References: <20201203204301.GW19746@mcvoy.com> <202012040927.0B49Rkx6019895@freefriends.org> From: Andy Kosela Date: Fri, 4 Dec 2020 12:33:43 +0100 X-Google-Sender-Auth: yxOYcxmZQJj0xh-aFbaK193Ru7E Message-ID: To: arnold@skeeve.com Content-Type: text/plain; charset="UTF-8" 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: , Cc: tuhs@tuhs.org Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" On 12/4/20, arnold@skeeve.com wrote: > Dan Cross wrote: > >> This has always struck me as particularly elegant in scripts. Consider: >> >> cat "$@" | whatever >> >> (Or you may prefer `cat $* | whatever`) >> >> Now one's script can take any number of file arguments or stdin, even if >> the filter does not. > > I think Dan has hit the heart of the matter. People are used to using > cat for multiple files to start pumping data down a pipeline, so they > continue to do so even when there's only one file. > The classic example is: $ cat file | grep foo instead of the simpler: $ grep foo file It appears cat(1) and pipe(7) are deeply ingrained in people's brains. --Andy