Jim wrote: > What approach would you suggest that is better to use ? > I have a DSL AP 2Wire783 in front of my computer that does not have the > capability of giving me the Internet IP This works for me after a moment's experimentation: links -dump http://www.getip.com/| awk '/^IP Address:/ {print $NF}' Stuart