On Mon, May 2, 2011 at 10:53 PM, Shrinivasan T <[email protected]> wrote:
> cat textfile | grep -o 
> '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}'

UUOC.
grep -o '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}' textfile

The above will work as well :-)

-- 
With Regards,
Mehul Ved
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to