From 9b142ba77108f15b95b1a5878d2eac318f9890f2 Mon Sep 17 00:00:00 2001 From: dvs1 Date: Fri, 17 Jan 2025 15:39:43 +1000 Subject: Don't print two lines per file, silence is golden. --- notYetAnotherWiki.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua index 839065c..bf9791f 100755 --- a/notYetAnotherWiki.lua +++ b/notYetAnotherWiki.lua @@ -84,7 +84,7 @@ for name, file in pairs(Files) do end -- Start the file parsing here, coz we need it's metadata. - print('Parsing ' .. name .. '.md') +-- print('Parsing ' .. name .. '.md') local h = io.open(name .. '.md', 'r') -- TODO - should bail here on error? if nil ~= h then file.cm = h:read('*a') ; h:close() else print('oops! No such name ' .. name) end @@ -306,7 +306,7 @@ for name, file in pairs(Files) do -- Write the file. if '' ~= result then local base = name .. '.HTML' - print('From ' .. name .. '.md -> ' .. base) +-- print('From ' .. name .. '.md -> ' .. base) local a, e = io.open(base, 'w') if nil == a then print('Could not open ' .. base .. ' - ' .. e) else a:write(result) -- cgit v1.1