Given:
$USER = the userid of your GB $PASS = the password of USER $GBIP = the IP address that the WWW interface is running on Either of these commands will work: lynx -source -auth $USER:$PASS http://$GBIP/summary/software.html | perl -ne 'print "$1\n" if /\sEXTERNAL\s+([0-9.]+).+DHCP$/' curl --silent --user $USER:$PASS http://$GBIP/summary/software.html | perl -ne 'print "$1\n" if /\sEXTERNAL\s+([0-9.]+).+DHCP$/' -- Alex Howansky Wankwood Associates http://www.wankwood.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] To subscribe to the digest version first unsubscribe, then e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
