The ping program actually gives the right exit code, so you can just look at that instead of trying to parse its output.
In reply to Re: when no ping say 'moo!'
by ambrus
in thread when no ping say 'moo!'
by Discipulus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |