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.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 32279 invoked from network); 23 Feb 2021 02:48:07 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 23 Feb 2021 02:48:07 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 154F29C9ED; Tue, 23 Feb 2021 12:48:05 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 04AB993D39; Tue, 23 Feb 2021 12:47:40 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=pass (2048-bit key; unprotected) header.d=dartmouth.edu header.i=@dartmouth.edu header.b="ghSMkvsR"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 22A1093D39; Tue, 23 Feb 2021 12:47:37 +1000 (AEST) Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) by minnie.tuhs.org (Postfix) with ESMTPS id D810593D32 for ; Tue, 23 Feb 2021 12:47:35 +1000 (AEST) Received: by mail-wm1-f50.google.com with SMTP id a207so1031004wmd.1 for ; Mon, 22 Feb 2021 18:47:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dartmouth.edu; s=google1; h=mime-version:from:date:message-id:subject:to; bh=S/a45+BIZsONdXBM0s0ghmP7Bqwg3DOYjoE5JhcQll8=; b=ghSMkvsRYRH+QPWyjsnRU9hlr+G5alDBPE15AAYQxi0J51vbSNMwQh3GAtQ6pqLX06 a+E6/bzadDhiyriopQAfYmuSxDQeoTozEx43RhE12InKCaqGTq4b+cNwhaijK2hl0QUz 9vsJEWD4MtV7ZxTEVWL6oLjiwYCaWji19wvpIsiFOwBPFqLlz4bhoqgjyjxwcChCmJsr FtjTPdM/Ftotb9Q9VeFDstuR3HoSWul1Ea3DBxH/YhLEPSQ67oq97ZvbH/yeePATHQjH i/Qd1aQHxu9c0YUhBnRzlt/fYXERNY0whjnJLqsqPOWkXr1tmkMosggKxu9vQQ07QyS1 zt/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=S/a45+BIZsONdXBM0s0ghmP7Bqwg3DOYjoE5JhcQll8=; b=Wsb1WIqldpp/QSTw1Gw0z6yKBIUqA102daBGuFTmOi0tD1kkwDI2JXohSwwcVKPhJa gVipc2kiJHRIfE6zY60e7/iqe7ze0+kwEtuAbj4A65BofkN3mxMsFM4AA759UVb4d7Pk HqoKQAM8d+5UgTnDXigoYsux+Akxac0cBuMif7Pa2zKhcrAXkjilAg7VY8gYD63lVG41 0nnCc+KnikMlOa91K4XZ3GnEXgvDkb6kTeJme1PuBf6iCl8+M8rMB/zLWnjk5W/cWGJ8 9YUZR+92aF6gbNN6ynnrdrE5uNiPXpK7Pv5CF5kgz/IshZePnu6BqRWIWKavMHRMjwnh MkIA== X-Gm-Message-State: AOAM532H9e1wyIUBa/UvbuwjOczz9Map/uko7QrGa1Y4xq8q679VPG8M o4SJyX/9EZBmAv3oqVSoczZzTElO1iplf7lhD70pUs/niyy9FQ== X-Google-Smtp-Source: ABdhPJyShV4wRkrhkDfDlCOaM2BbG50KV9C8GsaotGzDoSiA1N4/nXlDCESkNhGBuJVxtTgBis5q+hzzF6PnIdnUc1s= X-Received: by 2002:a05:600c:4f46:: with SMTP id m6mr22480260wmq.160.1614048454209; Mon, 22 Feb 2021 18:47:34 -0800 (PST) MIME-Version: 1.0 From: M Douglas McIlroy Date: Mon, 22 Feb 2021 21:47:18 -0500 Message-ID: To: tuhs@minnie.tuhs.org Content-Type: text/plain; charset="UTF-8" Subject: [TUHS] Proliferation of options is great simplification of pipes, really? 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" > I can imagine a simple perl (or python or whatever) script that would run > through groff input [and] determine which preprocessors are actually > needed ... Brian imagined such and implemented it way back when. Though I used it, I've forgotten its name. One probably could have fooled it by tricks like calling pic only in a .so file and perhaps renaming .so. But I never heard of it failing in real life. It does impose an extra pass over the input, but may well save a pass compared to the defensive groff -pet that I often use or to the rerun necessary when I forget to mention some or all of the filters.