|
From: Tom E. <te...@sh...> - 2003-08-28 18:03:19
|
On Thu, 2003-08-28 at 10:50, Tom Eastep wrote:
> On Wed, 2003-08-27 at 23:39, Eric E. Bowles wrote:
>
> >
> > There are a couple of ways to restrict the match to just IPv4:
> >
> > 1. Add a "-w" argument (whole word match) to grep, i.e.,
> >
> > ip addr show $interface | grep -w inet ...
> > ~~
>
> Can someone who runs LEAF/Bering confirm that the 'grep' utility
> included with Leaf supports the '-w' option?
>
Please disregard -- I've decided to use Eric's other solution ("ip -f")
which doesn't depend on grep behavior.
-Tom
--
Tom Eastep \ Shorewall - iptables made easy
Shoreline, \ http://shorewall.net
Washington USA \ te...@sh...
|