Re: simple regexp

2001-07-06 Thread Mario Todorow
perl -ne ' print "$1\n" if /\s(\d+\.\d+\.\d+\.\d+)\s/ ' file is better.

Re: simple regexp

2001-07-05 Thread Mario Todorow
Try this one line command perl -ne ' print "$1\n" if /\s(\S+\.\S+\.\S+\.\S+)\s/' file Cordially Mario