[TUHS] Proliferation of options is great simplification of pipes, really?

Jaap Akkerhuis jaapna at xs4all.nl
Tue Feb 23 20:42:30 AEST 2021



> On Feb 23, 2021, at 3:47, M Douglas McIlroy <m.douglas.mcilroy at dartmouth.edu> wrote:
> 
>> 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.


If I remember correctly, it was an awk script printing out the
suggested pipeline to use.  One could then cut and paste that line.

	jaap
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: Message signed with OpenPGP
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20210223/773136fa/attachment.sig>


More information about the TUHS mailing list