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 25997 invoked from network); 22 Feb 2021 16:17:54 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 22 Feb 2021 16:17:54 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 5F34B9CA9F; Tue, 23 Feb 2021 02:17:49 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id C059793D39; Tue, 23 Feb 2021 02:17:33 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id F0FD093D39; Tue, 23 Feb 2021 02:17:31 +1000 (AEST) X-Greylist: delayed 314 seconds by postgrey-1.36 at minnie.tuhs.org; Tue, 23 Feb 2021 02:17:31 AEST Received: from fuz.su (fuz.su [5.135.162.8]) by minnie.tuhs.org (Postfix) with ESMTPS id 0C44A93D32 for ; Tue, 23 Feb 2021 02:17:30 +1000 (AEST) Received: from fuz.su (localhost [127.0.0.1]) by fuz.su (8.16.1/8.16.1) with ESMTPS id 11MGCEHH064046 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Mon, 22 Feb 2021 17:12:14 +0100 (CET) (envelope-from fuz@fuz.su) Received: (from fuz@localhost) by fuz.su (8.16.1/8.16.1/Submit) id 11MGCENR064045 for tuhs@tuhs.org; Mon, 22 Feb 2021 17:12:14 +0100 (CET) (envelope-from fuz) Date: Mon, 22 Feb 2021 17:12:14 +0100 From: Robert Clausecker To: tuhs@tuhs.org Message-ID: References: <20210222033217.dkqavclp22sa77ln@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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: , 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, 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 I'm not sure if it would be that simple. With preprocessors like soelim, your script would have to be able to open arbitrary external files to find out what preprocessors are needed. And perhaps other preprocessors too could trigger dependencies on additional preprocessors depending on how they are used. Yours, Robert Clausecker -- () ascii ribbon campaign - for an 8-bit clean world /\ - against html email - against proprietary attachments