<html><head></head><body><div style="font-family:bookman old style, new york, times, serif;font-size:16px;"><div>Hi,</div><div>I want to read 2 files (text) and in case of equality of elements, write their columns in another file; I mean I want to match some elements of these 2 files.</div><div><br></div><div>My problem is related to put the condition without do loop, because of its low speed. I'll be thankful if I could have your help about it.</div><div>I've attached the input files and the script. How could I use the condition in lines 48-51 instead of lines 44-45 of the script? (H<span style="color: rgb(0, 0, 0); font-family: "bookman old style", "new york", times, serif; font-size: 16px;">owever maybe it isn't necessary in this case.)</span></div><div><br></div><div><i>Sincerely</i></div><div><i>Ehsan</i></div></div></body></html>