On Wed, Feb 16, 2022 at 09:42:51AM -0500, Wietse Venema wrote: > > Alternatively, perhaps there should be an option to turn off the safety > > net. Something like the '-J' option below (with appropriate > > documentation and warnings). > > And what about non-json output?
My view of "postqueue -p" is that it is eyeball-readable and not machine-readable, and that sanitisation is appropriate to preserve the visual structure of the output. Users who want an unsanitised form of the queue content should consume JSON. -- Viktor.