I'll post the patch in the bug report.

Hans

> 
> 
> 
> 
> 
> Op Wed Dec 08 2021 22:34:24 GMT+0100 (Central European Standard Time)
> schreef Dave Kemper <saint.s...@gmail.com>:
> 
> ---------- Oorspronkelijk bericht ----------
> 
> 
> 
> 
> 
> On 12/7/21, Hans Bezemer <hbeze...@kliksafe.nl> wrote:
> > Changed the
> appropriate lines into:
> > .  sy pdfinfo @$1 | \
> > awk '/^Page size:/
> {print ".nr pdf-wid (p;"$3")"; \
> > print ".nr pdf-ht  (p;"$5")"}' \
> >>
> /tmp/pdfpic\n[$$]
> >
> > This seems to work fine.
> > I've attached a patch
> file.
> 
> If this is portable (I don't know awk at all), it would also fix
> bug
> #58206 (http://savannah.gnu.org/bugs/?58206), since it eliminates the
> grep that is causing that problem.  Might be worth posting your patch
> in
> that bug report.
> 
> 
>

Reply via email to