Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] mosquitto-dev Digest, Vol 47, Issue 7

Hi there,

There are many wishes for the output format of mosquitto_sub.
I guess, for unix experts, the best way is supporting unix pipe for an
output target of mosquitto_sub.
You can combine any command or text processing with mosquitto_sub to
get your favorite format.

e.g.
1) msoqutto_sub -h localhost -t "#" | od -t x         (output binary by hex)
2) msoqutto_sub -h localhost -t "#" | python -m json.tool     (output
pretty JSON format)

What do you think about this idea?

Regards,
Tatsuzo


Back to the top