Actually... that is perfect. After that grep I can just snag the IP from the top line. Thanks a bunch!
On 12/12/06, Matthew Walker <[EMAIL PROTECTED]> wrote:
Not sure if this will help you, but grep -B # will add # lines of context before every match. grep -B 5 "MAC" dhcpd.leases should give you something you can use.
/* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */
