OSX shell test IP for validity

A simple script to test if a given IP address is valid. Using it in .sh scripts in Mac OS X.

 

markus