Y
Hacker News
new
|
ask
|
show
|
jobs
by
masklinn
4180 days ago
xargs -n1 (-n is so it executes the command for each input)
You'll also need sed -l to limit buffering.
ping <host> | sed -l 's/.*/ping/' | xargs -n1 say
1 comments
yuchi
4180 days ago
perfect!
link