small script to extract ip address of LAN with cygwin