[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems with .PDFPIC caused by pdfinfo
From: |
Heinz-Jürgen Oertel |
Subject: |
Re: Problems with .PDFPIC caused by pdfinfo |
Date: |
Tue, 21 Sep 2021 18:30:04 +0200 |
Am Dienstag, 21. September 2021, 15:23:40 CEST schrieb Tadziu Hoffmann:
> sed -ne 's/.../.../p'
This works indeed:
pdfinfo Selz.pdf | sed -ne 's/Page *size: *\([[:digit:].]*\) *x
*\([[:digit:].]*\).*$/.nr pdf-wid (p;\1)\n.nr pdf-ht (p;\2)/p'
.nr pdf-wid (p;938.152)
.nr pdf-ht (p;674.93)
Heinz