in reply to Re: Re:**3 (rob_au) Getting net addy on localhost?
in thread Getting net addy on localhost?
The problem with calling something like ifconfig is relying upon a standard output scheme across platforms... I doubt Sun does it similar to anybody else (afterall they have their own cron, grep, and ping etc.) UPDATE: I do suppose this |P is a bit GNU-centric ;-).
--
perl -p -e "s/(?:\w);([st])/'\$1/mg"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re:**5 (rob_au)**2 Getting net addy on localhost?
by rob_au (Abbot) on Nov 27, 2001 at 10:29 UTC |