eslogger man page strange reference

In the man page for the eslogger tool, there is a reference to the jq tool.

Postprocess the output in a shell pipeline with jq:
% sudo eslogger exec | jq -r 'select(.process.executable.path == "/bin/zsh")|"(.process.audit_token.pid): (.process.executable.path) -(.event.exec.target.executable.path)"'

The problem is that the jq tool is not installed by default with macOS.

[Q] Isn't the idea that the man page should only reference tools that are part of the standard macOS distribution (or can be downloaded and installed by the OS when you try to run them, like with some developer tools)?

Answered by curmudgeonly in 808347022

/usr/bin/jq in macOS Sequoia.

/usr/bin/jq in macOS Sequoia.

/usr/bin/jq in macOS Sequoia.

Oh, hey, would you look at that. Nice!

Isn't the idea that the man page should only reference tools that are part of the standard macOS distribution … ?

I don’t think there’s any specific mandate along those lines but, yes, it’d be odd. OTOH, for a tool like jq, which is very well known, I think it’s pretty reasonable. OTOOH, we just resolved this issue anyway (-:

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

eslogger man page strange reference
 
 
Q