Grep Match entire email multiple lines
Hello I have to files: I have this fist file ./j/n:jwillow@gmail.com:Test1 ./n/o:nanofranky@list.ru:Test2 ./j/r:franky@list.ru:Test2 ./j/d:jdmq77@hotmail.com:Test3 ./x/s:xsebastianmenendez@hotmail.com:Test4 ./r/s:rsebastianmenendez@hotmail.com:Test5 ./w/i:willow@gmail.com@gmail.com:Test6 And I want it to match this second file, but the whole email, not just the appearance of the word: willow@gmail.com franky@list.ru jdmq77@hotmail.com sebastianmenendez@hotmail.com So I want the output to be: ./j/r:franky@list.ru:Test2 ./j/d:jdmq77@hotmail.com:Test3 ./w/i:willow@gmail.com@gmail.com:Test6 I try with grep… Read More Grep Match entire email multiple lines