Comment on Pretty IP Address lookupparentComments−soult15yWhat do you need the grep for?−getsat15yProbably so you know that the output you received is definitely an IP if egrep returns 0. The script on the server could fail or return unexpected non-IP output.
Comments
What do you need the grep for?
Probably so you know that the output you received is definitely an IP if egrep returns 0. The script on the server could fail or return unexpected non-IP output.