Re: Optimize script for generating LinuxManBook.pdf

Alejandro Colomar
2023-11-30T22:38:29Z

[-- Attachment #1: Type: text/plain, Size: 712 bytes --]

Hi Deri,

On Thu, Nov 30, 2023 at 04:56:38PM +0000, Deri wrote:
> Hi Alex,
>
> I have attached the latest iteration of my work, managed to knock two seconds
> off the current code in your git.

Nice!

> It no longer uses temporary files,

It is creating a temporary dj.Z file. Is that a leftover?

> outputs
> the pdf to stdout, can be run from any directory and runs groff once.

Great.

> It replaces the complete LinuxManBook directory and the executable is now
> called BuildLinuxMan2.pl.

I'd prefer if the huge groff code would go in a separate file. Would
that make sense?

Thanks,
Alex

>
> Cheers
>
> Deri