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=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 24742 invoked from network); 22 Feb 2021 16:06:17 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 22 Feb 2021 16:06:17 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 622519CA67; Tue, 23 Feb 2021 02:06:10 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id D38E493D39; Tue, 23 Feb 2021 02:05:57 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 4C76493D39; Tue, 23 Feb 2021 02:05:55 +1000 (AEST) X-Greylist: delayed 475 seconds by postgrey-1.36 at minnie.tuhs.org; Tue, 23 Feb 2021 02:05:53 AEST Received: from mail.cheswick.com (unknown [96.93.158.218]) by minnie.tuhs.org (Postfix) with ESMTPS id 49AB793D32 for ; Tue, 23 Feb 2021 02:05:53 +1000 (AEST) Received: from rhus.local (farmgate.cheswick.com [96.93.158.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail.cheswick.com (Postfix) with ESMTPSA id 06BF62383A2; Mon, 22 Feb 2021 10:57:56 -0500 (EST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) From: William Cheswick In-Reply-To: Date: Mon, 22 Feb 2021 10:57:55 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20210222033217.dkqavclp22sa77ln@localhost.localdomain> To: "John P Linderman (jpl)" X-Mailer: Apple Mail (2.3654.60.0.2.21) 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" This proposal reminds me of Paul Glick=E2=80=99s lp command. It took = whatever 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: >=20 > 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 the proper order. I wouldn't have to tell groff what = preprocessors I think are 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