in reply to Two files, if the first line and the first column are the same, print this line, the second line, the third line,the fourth line.

01.txt >SR1.2 >SR1.3 02.txt >SR1.1 HWI-ST
"if the first line and the first column are the same"
Your first line and the first column arent the same. Thats the problem to begin with, clearly the line you are trying to match is not on the first line of file 2.
  • Comment on Re: Two files, if the first line and the first column are the same, print this line, the second line, the third line,the fourth line.
  • Download Code