3 ms·
The following command will work on OS X and do the voice ping: ping google.com | sed -l -e 's/.*/ping/' | while read line; do say $line; done The `while r
by TheCoreh 12y ago
The following command will work on OS X and do the voice ping:
ping google.com | sed -l -e 's/.*/ping/' | while read line; do say $line; done
The `while read line ...` is required because the `say(1)` command will wait for an EOF when reading from a non-TTY... so it won't speak line by line.