Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/hushping/readme

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


Ip/ping is chatty, even with the -q flag set. My 
understanding of this flag is that it should stop all
output of ping from happening (that goes to stdout, as
opposed to stderr). In fact, ip/ping still outputs its
startup garble (sending bla bla) and, if it loses
packets, how many.

My expectation is that it should behave as e.g. grep -s
where no output happens to stdout, but the $status is
set.

This patch should fix this issue adequately (it's really
just 2 lines).

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.