diff --git a/docs/parsers/ping_s.md b/docs/parsers/ping_s.md index 0724b4ea..19d87a38 100644 --- a/docs/parsers/ping_s.md +++ b/docs/parsers/ping_s.md @@ -14,6 +14,8 @@ Usage (module): for item in result: # do something +> Note: When piping `jc` output to other processes it may appear the output is hanging due to the OS pipe buffers. This is because `ping` output is too small to quickly fill up the buffer. Use the `-u` option to unbuffer the `jc` output if you would like immediate output. See the [readme](https://github.com/kellyjonbrazil/jc/tree/streaming#streaming-parsers) for more information. + Schema: { diff --git a/jc/parsers/ping_s.py b/jc/parsers/ping_s.py index b4ed3bf2..2627b4b2 100644 --- a/jc/parsers/ping_s.py +++ b/jc/parsers/ping_s.py @@ -11,6 +11,8 @@ Usage (module): for item in result: # do something +> Note: When piping `jc` output to other processes it may appear the output is hanging due to the OS pipe buffers. This is because `ping` output is too small to quickly fill up the buffer. Use the `-u` option to unbuffer the `jc` output if you would like immediate output. See the [readme](https://github.com/kellyjonbrazil/jc/tree/streaming#streaming-parsers) for more information. + Schema: {