local args={...} a=fs.open(args[1],'r') b=fs.open(args[2],'r') l=0 repeat l=l+1 sa=a.readLine() sb=b.readLine() if sa~=sb then print('Files don\'t match at line number '..l) if sa==nil then print('File a has less lines than file b.') break elseif sb==nil then print('File b has less lines than file a.') break end for i=1,#sa do if sa:sub(i,i)~=sb:sub(i,i) then print('Characters don\'t match at position '..i) sleep(0.5) end end end until (sa==nil and sb==nil)