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_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 24579 invoked from network); 22 Feb 2021 16:04:56 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 22 Feb 2021 16:04:56 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id F1B0B9CAB7; Tue, 23 Feb 2021 02:04:34 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id E006C9CAC1; Tue, 23 Feb 2021 02:04:01 +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="DGYmQoSi"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id DE7D49CAB9; Tue, 23 Feb 2021 02:03:59 +1000 (AEST) Received: from mail-yb1-f173.google.com (mail-yb1-f173.google.com [209.85.219.173]) by minnie.tuhs.org (Postfix) with ESMTPS id 5B3869CAAE for ; Tue, 23 Feb 2021 02:03:56 +1000 (AEST) Received: by mail-yb1-f173.google.com with SMTP id p193so13401102yba.4 for ; Mon, 22 Feb 2021 08:03:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=aJFyK/APEaIFKbyDfv6XfSiZlhhqrpyPVeriflFTX1Y=; b=DGYmQoSi3d3irC4w5oncHr9BfcfEDhkLlmaS2X070BxB8Oi8WRTvUhM26BCqD9VQWz cYTBNLIwdSk7TDZzbbhh3MVBymKY7wol9qqvTiqGhnr0D04nrLlEl6SVJQ8QI0NnGskJ TDvqSK4kD21VwKOE3e5YO9g32tfsgoyUo7aFc9h+kXbcAtLeCbLaVT8zPYsthW8Taooa lkgh2a2DlKhixXyiREhGjmGd8hiOySv05BKLiskA01A/8ZrFWB8WbrW079hwdc1ILkxc BRz6ER7Al0Sc5KqQyaaCgI8KI0j4bEFYYsGalLTpVJioP2OM/78vcpH3TVCmgUolM4/a Tomw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=aJFyK/APEaIFKbyDfv6XfSiZlhhqrpyPVeriflFTX1Y=; b=B1vJduTfvXn34A+0lW6bdj7rIt+hCpcqSVIgltq0FzfQ9Im0pRrSVTh9aFRbDo3xvN u297Nky/CzXmBbBVBX1hv7+YRUfcaffLBYqVQFIjj3B+O3T/EsGs39gamv+82+LUhtjy W6F6QWmE1ksOoHMyBAAeKPVUScQqIFBmevD5qgQZ38lm3wCCGRf9TitWV5/H/goOgRha UrTeYYElNK9bTqZ2Qm1sT34J4uzDIqWJ6WcdoVfAmRkD4JKtNJcv2ki50wGNzN2qfuhe xH1tU5Kcqpi3s+A9zwMs5Zyy2ve9PKZSaZeCxcHtxpGXYmSaezZoWjj6OKmTBZGUbTZq LXlg== X-Gm-Message-State: AOAM533RjtTxJ8lcbuMDxx92ZNhB6HUklVKgZYz+fOc0Jm9mumREGict tS71NmsmgfMxM+dmv/Knf5P/qQY7EsB/of04iDCwVAt/psk= X-Google-Smtp-Source: ABdhPJx/hLODBUF3GlEfoVnoznxXMsfDt9MtxtoQJpSZ8TqaWCqC9KSQOsq6iI6ClmLSBct4P6bHKpNsyO5ipVT71LQ= X-Received: by 2002:a25:37c4:: with SMTP id e187mr34638285yba.347.1614009835100; Mon, 22 Feb 2021 08:03:55 -0800 (PST) MIME-Version: 1.0 References: <20210222033217.dkqavclp22sa77ln@localhost.localdomain> In-Reply-To: From: "John P. Linderman" Date: Mon, 22 Feb 2021 11:03:43 -0500 Message-ID: To: William Cheswick Content-Type: multipart/alternative; boundary="000000000000e4585305bbeef267" Subject: Re: [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: , Cc: The Unix Heritage Society Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" --000000000000e4585305bbeef267 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On a brute-forcier note, when I was doing a lot more troff, I wrote a command that ran input through *ALL* the preprocessors I might need. Even on 70's processors, it was fast enough, and msde my life a tiny bit better. -- jpl On Mon, Feb 22, 2021 at 10:57 AM William Cheswick wrote= : > This proposal reminds me of Paul Glick=E2=80=99s lp command. It took wha= tever > file you gave it, and processed > it as necessary for whatever printer you chose. It was very useful, > simple AI. > > > On Feb 22, 2021, at 10:49 AM, John P. Linderman > wrote: > > > > I can imagine a simple perl (or python or whatever) script that would > run through groff input, determine which preprocessors are actually neede= d, > and set up a pipeline to run through (only) the needed preprocessors in t= he > proper order. I wouldn't have to tell groff what preprocessors I think ar= e > needed, and groff wouldn't have to change (although my script would) when > another preprocessor comes into existence. Modern processors are fast > enough, and groff input small enough, that the "extra" pass wouldn't be > burdensome. And it would take the burden off me to remember exactly which > preprocessors are essential. -- jpl > > --000000000000e4585305bbeef267 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On = a brute-forcier note, when I was doing a lot more troff, I wrote a command = that ran input through ALL the preprocessors I might need. Even on 7= 0's processors, it was fast enough, and msde my life a tiny bit better.= =C2=A0 -- jpl

On Mon, Feb 22, 2021 at 10:57 AM William Cheswick <ches@cheswick.com> wrote:
This proposal reminds m= e of Paul Glick=E2=80=99s lp command.=C2=A0 It took whatever file you gave = it, and processed
it as necessary for whatever printer you chose.=C2=A0 It was very useful, s= imple AI.

> On Feb 22, 2021, at 10:49 AM, John P. Linderman <jpl.jpl@gmail.com> wrote:
>
> I can imagine a simple perl (or python or whatever) script that would = run through groff input, determine which preprocessors are actually needed,= and set up a pipeline to run through (only) the needed preprocessors in th= e proper order. I wouldn't have to tell groff what preprocessors I thin= k are needed, and groff wouldn't have to change (although my script wou= ld) when another preprocessor comes into existence. Modern processors are f= ast enough, and groff input small enough, that the "extra" pass w= ouldn't be burdensome. And it would take the burden off me to remember = exactly which preprocessors are essential. -- jpl

--000000000000e4585305bbeef267--