> "Why not use jq?" I hear you ask. While jq is undoubtedly powerful and
> can handle pretty much any JSON data thrown at it, I found jq's syntax
> rather cumbersome. PostQF is specifically designed to make filtering
> Postfix queue data both easier and quicker, by means of simple command
> line arguments.

Of course implementing a "jq" script with the same command-line
interface as "postqf" is not too difficult.  If anyone wants to
improve their "jq" skills, I recommend the exercise.

The main difference is that the regular expression syntax in JQ
is somewhat different when it comes to named groups, but this
should not be an issue in typical usage.

Running regular expressions from untrusted sources is not recommended.

-- 
        Viktor.

Reply via email to