The best ping story I've ever heard
askapache.com
The best ping story I've ever heard
1–10 of 49 posts
Re: The best ping story I've ever heard
#2Re: The best ping story I've ever heard
#3Surely most people reading this will know the quote linked without having to even click it.
Re: The best ping story I've ever heard
#4Re: The best ping story I've ever heard
#5Do someone know how to run a command for every line emitted in a unix pipe? I tried the oneliner in the linked story using Mac OS X’s `say`, but it doesn’t work with pipes.
Re: The best ping story I've ever heard
#6Do someone know how to run a command for every line emitted in a unix pipe? I tried the oneliner in the linked story using Mac OS X’s `say`, but it doesn’t work with pipes.
cat input |while read a; do do_something_with $a; doneRe: The best ping story I've ever heard
#7Do someone know how to run a command for every line emitted in a unix pipe? I tried the oneliner in the linked story using Mac OS X’s `say`, but it doesn’t work with pipes.
ping goodhost | sed -l 's/.*/ping/' | while read line; do echo $line | say; done
Re: The best ping story I've ever heard
#8Do someone know how to run a command for every line emitted in a unix pipe? I tried the oneliner in the linked story using Mac OS X’s `say`, but it doesn’t work with pipes.
ping goodhost | sed -l 's/.*/ping/' | while read line; do echo $line | say; done
Re: The best ping story I've ever heard
#9Re: The best ping story I've ever heard
#10Do someone know how to run a command for every line emitted in a unix pipe? I tried the oneliner in the linked story using Mac OS X’s `say`, but it doesn’t work with pipes.
ping 127.0.0.1 | sed -e 's/.*/ping/' | xargs -d'\n' -n1 say