Warning: this is an htmlized version!
The original is here, and the conversion rules are here. |
#!/usr/bin/env lua51 -- (find-es "page" "compare-tp-and-home") -- returns nil if can't read readfile = function (fname) local f = io.open(fname, "r") if f then local bigstr = f:read("*a") f:close() return bigstr end end for li in io.lines() do local fname1 = arg[1]..li local fname2 = arg[2]..li local f1 = readfile(fname1) local f2 = readfile(fname2) if f1 ~= f2 then print(li) end end