2 local file_in = io.open(args.file,
'r')
5 return false,
'file not found: '..args.file
8 local content = (file_in:read(
'*a') or ''):gsub(args.format, args.
replace)
11 local file_out = io.open(args.dist, 'w')
13 file_out:write(content)
20 return false, 'not implemented!'
local function download(args)
local function replace(args)