Roberto C. Sanchez wrote:

-------- 8< --------
#!/bin/sh

EMAIL="[EMAIL PROTECTED]"

lynx -dump http://checkip.dyndns.org |sed -n '/Current/s/.*: 
\([0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\)/\1/p' | /usr/bin/Mail -s "IP address as of 
`date`" $EMAIL
-------- 8< --------

HTH,

-Roberto


FWIW this site requires no parsing:

wget http://www.whatismyip.org/ -qO - | html2text | mail [etc etc ....]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to