Router's IP address - how to grep
Router's IP address - how to grep
- Subject: Router's IP address - how to grep
- From: Joe <email@hidden>
- Date: Thu, 15 May 2008 13:01:41 -0700
I know there are web pages and widgets to get a router's IP, but I
thought I would try a local solution with lynx.
set theurl to "http://homeportal/xslt?
PAGE=B01&THISPAGE=A01&NEXTPAGE=B01"
set BBandInfo to do shell script ("/usr/local/bin/lynx -dump " &
theurl & "")
That returns a whole page with a line about midway down containing the
words "Internet Address:"
So, I tried various combinations of this:
set BBandInfo to do shell script ("cd /usr/local/bin; ./lynx -dump " &
theurl & " | grep \"Internet Address:\"")
and that gives a long error message that extends off the monitor.
I don't know much about shell or grep but I'm trying to learn. Any
help appreciated.
Joe
--------------------------
say "[[inpt PHON]]lAYf%IHsEY[[inpt TEXT]] gas, [[inpt PHON]]@[[inpt
TEXT]]aich [[inpt TEXT]]too[[inpt PHON]]%[[inpt TEXT]]ess." using
"Kathy"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden