This command prints the milliseconds till g.co ten times per second:
ping -i 0.1 g.co | grep ms
If I add just another grep it no longer prints anything ever (both on Mac and on Debian):
ping -i 0.1 g.co | grep ms | grep m
Why is that?
yes | grep y | grep y
This does print an infinite series of y lines as expected