hate to keep replying to my own thread but
here is what i came up with
GET http://checkip.dyndns.org | awk ' { gsub(/...............$/, "", $6); print $6 } '
any better way ??
im trying to use the GET command on http://checkip.dyndns.org to find my public address then pipe it to awk to show only the address can anyone tell me the command(s) to remove the last 14 charaters from field 6
Thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.