On Fri, 4 Nov 2005, brullo nulla wrote: > Given this hell, I can't see why my original suggestion of parsing > ifconfig has not been taken into account... a couple of lines of > It has, at least by the OP (that would be me).
/sbin/ifconfig|grep -m 1 inet|sed -e 's/^\s*inet addr://'|sed -e 's/\s.*$//' -- Jorge Almeida -- gentoo-user@gentoo.org mailing list