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=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 533 invoked from network); 4 Dec 2020 01:11:21 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 4 Dec 2020 01:11:21 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 075B99CA76; Fri, 4 Dec 2020 11:11:17 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 997C99CA4F; Fri, 4 Dec 2020 11:10:59 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=pass (2048-bit key; unprotected) header.d=iitbombay-org.20150623.gappssmtp.com header.i=@iitbombay-org.20150623.gappssmtp.com header.b="q/dhsBCQ"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 433F59CA4F; Fri, 4 Dec 2020 11:10:56 +1000 (AEST) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by minnie.tuhs.org (Postfix) with ESMTPS id 83E9F9CA4B for ; Fri, 4 Dec 2020 11:10:54 +1000 (AEST) Received: by mail-pl1-f178.google.com with SMTP id bj5so2188613plb.4 for ; Thu, 03 Dec 2020 17:10:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iitbombay-org.20150623.gappssmtp.com; s=20150623; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=ZojsKW482JaOYQuNytIiHQ3VV6l8qwV+eb/NopZTPjw=; b=q/dhsBCQLhPZQHh/K7GPgiia8TKrUaaCamGdcfhm2x7/rOMasLuSvFO4J9nnOclj9X OaE+5x3Q3XA3K74noHvOUONtoz37APSScTVMRRDk88KRghvzwYYjjxwVvkBVxAD5dvKo 3qvx+2vQDu5mz4nUPNDiJL9ELPxbvQ8ln4nYkgU1RvJt6pEHgz7tEb/N9mwlrw45DoEr rfr8NhDgFnLhpDJ4zlv12yvXglbmgOjftBbQ7suciUK8iejmth0kGnIUn8em4zp1XAzW w1xEHJwQ1nIagWKEDhmahwBbPF5uLQQ+sPNCzvxgKY0Mrl4jFfRTCNSPVx8RG39UWjr6 Vr4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=ZojsKW482JaOYQuNytIiHQ3VV6l8qwV+eb/NopZTPjw=; b=jqLgrVJvivsV1OsRwsaHlhjG5SSYCdRaz6B1T3+qn0dAczfAi5f/inm0ewh9gakcut Nv5fL1/0zjiEIG92HXYKnWG6aj2FLBhswOtfbHFhT/ScGxPPHcHlHPTI/vm2eN70uyFn WokMi2dzTNeSj1RJ7J/FcCEOYzBHF37G/kXMqsc0smEX3GG4XT1AXqbvDTIm23h6DL1k /9Fs/eEHid9ZFiHNOeRMEt5C6MevFlfF2ls7qR+sy0BMSlnFASW7yOj+As5huKkAlFdK NBohVvMlng0Ef8ZRzoKAIIrKEkX2vjux6FtlfH8iZFxQ1NBtW9p4BPX9FGqtHcgrmxDG AMqg== X-Gm-Message-State: AOAM533gCHhUQ44P+iobd8oJKEsULPbtIvmybgNQJ0Zx9Wk5LHxfyhp9 m9FEzdhEfOIrFC22UzDpuGZcpqEY4NlfMg== X-Google-Smtp-Source: ABdhPJxR8cfIHqNUXc0vFxnOy+rJNfXb4GvtGbDy+mpVpE02I0Q1P44L3krooHGmd8V/zhA+8jxOGQ== X-Received: by 2002:a17:90a:4fe5:: with SMTP id q92mr1724247pjh.188.1607044253522; Thu, 03 Dec 2020 17:10:53 -0800 (PST) Received: from [192.168.1.113] (172-125-77-130.lightspeed.sntcca.sbcglobal.net. [172.125.77.130]) by smtp.gmail.com with ESMTPSA id l8sm455682pjq.22.2020.12.03.17.10.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Dec 2020 17:10:52 -0800 (PST) From: Bakul Shah Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.20.0.2.21\)) Date: Thu, 3 Dec 2020 17:10:51 -0800 References: <20201203204301.GW19746@mcvoy.com> To: The Eunuchs Hysterical Society In-Reply-To: Message-Id: <040A3300-994D-4268-B22B-9F99B579F999@iitbombay.org> X-Mailer: Apple Mail (2.3654.20.0.2.21) 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" On Dec 3, 2020, at 4:29 PM, Dave Horsfall wrote: >=20 > On Thu, 3 Dec 2020, Larry McVoy wrote: >=20 >> Wasn't there a version that was >>=20 >> cat whatever ^ wc -l >=20 > Sort of pipe-related, but one thing that really gets my goat is the = inefficient redundancy in "cat file | process" when "process < file" = will suffice (and I'll bet that I'm not alone). Checking command history in zsh: $ h 1-|wc -l; h 1-|grep '<' | wc -l; h 1-|grep '>' | wc -l; h 1-|grep = '|'|wc -l 10009 125 225 878 So it appears I used < ~1%, > ~2% and | ~9% of the command lines! I bet others will something similar.=