Ralph Corderoy asked: > > When I run > > > > pdfinfo doc/automake.pdf | tr -d '\000' | grep "Page *size" | sed -e > > 's/Page *size: *\\([[:digit:].]*\\) *x *\\([[:digit:].]*\\).*$/\ > > .nr pdfpic*width (p;\\1)\\n\ > > .nr pdfpic*height (p;\\2)/' > > Are you running those three lines in a shell or have you edited the troff > to be that text? IOW, is troff filtering the text before sh sees it?
I was doing these experiments in a shell. How it works within troff and with .ec, I don't know and did not test. Bruno