On Fri, Jul 10, 2026 at 11:04 PM Jim Avera <[email protected]> wrote:
> With groff 1.22.4 this fails because groff says .pline is an unknown
> command.

Right, it didn't exist in groff 1.22.4.  The request was added in
groff 1.24.0.  The item from the 1.24.0 release notes says, "A new
request, `pline`, reports to the standard error stream the list of
output nodes (an internal data structure) corresponding to the pending
output line.  The list is empty if no such nodes exist."

> (Also: Was -z or -Z intended?  "jq" is a JSON processor on my system.)

I presume -z was intended; this tells groff to suppress stdout.  Then
the following "2>&1" directs stderr to stdout so that it can be piped.
The pline output is in JSON format.

Reply via email to