I have two files abc.dat and sant.dat (Big file 60k rows)
for every line's 1,4 of abc.dat need to seach if this is present on 28,4 of sant.dat every line.
if its present the output needs to go to bde.dat
Example:
contents abc.dat
aaaa
bbbb
cccc
dddd
contents sant.dat
this is a new messagexxxx aaaa
this is not a new message bbbb
this is not a new message xxxx
Output
this is a new messagexxxx aaaa
this is not a new message bbbb