Hi Alexey, > - ping $@ 2>&1 | grep -q "invalid option" > + ping $@ 2>&1 | grep -qE "(invalid|unrecognized) option" Which implementation needs it? Both ping from iputils and busybox report "invalid option". Kind regards, Petr