Hi,

On Mon, May 2, 2011 at 8:16 PM, Karthikeyan S <[email protected]> wrote:
> I have a log file with IP addresses. These IP addresses are not in same
> column. My question is, how to search and get all the IP addresses in a file
> ?

You can write regular expressions in perl/python scripts to match IP addresses.

http://docs.python.org/library/re.html
http://perldoc.perl.org/perlre.html#Regular-Expressions

HTH :)

Thanks & Regards,
Guruprasad
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to