In the output of ifconfig the word 'inet' is always followed by a space, your regexp requires it to be followed by a word-character (\w), so the regexp never matches and the variables don't contain anything.
| We're not surrounded, we're in a target-rich environment! |
|---|
In reply to Re: Back in the saddle...
by jasonk
in thread Back in the saddle...
by gnubbs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |