Quote:
Originally Posted by durden_tyler
Something like this:
Code:
$
$ cat input.txt
3.209.12.09 xyz xyz.unix.com
$
$ awk '{sub("xyz.","",$3); print $3}' input.txt
unix.com
$
tyler_durden
|
Thanks for your help !!! But need some more of your help
There is an another clause over here which i found just now ... xyz.unix.com can come any where in the line it need not be at $3 every time