I can get ip addesses using something like,
{ print $6 }, however I wish to pick out entries based on 123.123.123.123 - ie I wish to test for ever line with a 4 dot IP address....
but........ to design the mattern to match ANY IP address spec is extremely difficult. I'd suggest reading Friedl's "Regular Expressions" book on pp. 123-125 vlad
+---------------------------+
|#include<disclaimer.h> |
+---------------------------+
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.