We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CL
DIFF_CONTEXT
1 parent b596499 commit 635a535Copy full SHA for 635a535
demo/xtra/DIFF.LUA
@@ -1,6 +1,6 @@
1
-#!/usr/bin/env lua
+#!/usr/bin/env lua
2
3
-CL = 3
+CL = tonumber(os.getenv("DIFF_CONTEXT")) or 3
4
local function diff_u(fn1, fn2)
5
local function open(fn) local f, e = io.open(fn) if not f then print(e) os.exit(1) end return f end
6
local f1, f2, pre, add, del, p1, p2, x, y, h, l1, l2 = open(fn1), open(fn2), {}, {}, {}, 0, 0, 0, 0
0 commit comments