Need help from the sed gods

Timothy Bauscher timothy at
Sun Sep 22 07:49:48 PDT 2002

On Sun, Sep 22, 2002 at 04:30:51PM +0200, Oliver Brakmann wrote:
> /me wrotew...
> > I need a little help:
> uhmm, forget about it, I was blind for a moment or two :-/
> I can simply get the information from the ifconfig.$interface
> file. D'oh!

Hehe. Much easier.

sed -n '/IP/s/.*=//p' ifconfig.eth0


-*- "Share and Enjoy" || "Go stick your head in a pig" -*-
Unsubscribe: send email to listar at
and put 'unsubscribe lfs-chat' in the subject header of the message

More information about the lfs-chat mailing list