thanks for the great help from Cns and LemmeC on this one, i need to modify this command.
awk ' substr($0,1,120) ~ /@pop\..*.local.domain.com/ ' logfile1
awk ' substr($0,1,120) ~ /@pop\..*\.local.domain.com/ ' logfile1
when i run either of these commands i get the @pop. like i want but the way i'm useing the wildcard
i still get anything after the @pop.
I want to get any word that is between the @pop. and the .domain.com
in other words i want to take this part of the line @pop.local.domain.com
and get any lines that match this with any word in the place of local.