The equivalent with curl on the command line would be: curl -s "http://whatismyip.com" | grep "Your IP" | awk '{print $4}' Norm Norman Cohen nacohen at mac.com "A lot of people mistake a short memory for a clear conscience." Doug Larson On Nov 27, 2004, at 11:08 AM, Jeff Winchester wrote: > ----- > #!/bin/bash > > url="whatismyip.com" > > echo "" > /sw/bin/lynx --nocolor --dump $url | head -10 | grep "Your IP" | awk > '{print $4}' > echo "" > -----