in reply to Re: Re: Getting net addy on localhost?
in thread Getting net addy on localhost?
You never said what platform you are on either. If UN*Xy the easiest pure-perl is to parse /etc/sysconfig/network-scripts/ifcfg-*. You might steal the code from http://www.webmin.com/webmin/
--
perl -p -e "s/(?:\w);([st])/'\$1/mg"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re:**3 (rob_au) Getting net addy on localhost?
by rob_au (Abbot) on Nov 27, 2001 at 10:17 UTC | |
by belg4mit (Prior) on Nov 27, 2001 at 10:22 UTC | |
by rob_au (Abbot) on Nov 27, 2001 at 10:29 UTC | |
|
Re: Re:**3 (rob_au) Getting net addy on localhost?
by Dogma (Pilgrim) on Nov 27, 2001 at 10:36 UTC |