From 4bdf4b063bf4bd6857760cb42aa32123c36b4e4c Mon Sep 17 00:00:00 2001 From: Yukai Chou Date: Fri, 15 Dec 2023 04:16:31 +0800 Subject: [PATCH 1/4] Update copyright automatically when updating tag --- build.lua | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/build.lua b/build.lua index b8ac3ba3..54efe267 100644 --- a/build.lua +++ b/build.lua @@ -18,7 +18,14 @@ sourcefiles = {"*.dtx", "l3build*.lua", "*.ins"} typesetruns = 4 typesetcmds = "\\AtBeginDocument{\\DisableImplementation}" unpackdeps = { } -tagfiles = {"l3build.1", "l3build.dtx", "*.md", "l3build.lua"} +tagfiles = { + "l3build.1", + "l3build.dtx", + "l3build.ins", + "**/*.md", -- to include README.md in ./examples + "l3build*.lua", + "**/regression-test.cfg" +} uploadconfig = { author = "The LaTeX Team", @@ -42,6 +49,21 @@ Linux, macOS, and Windows systems. The package offers: function update_tag(file,content,tagname,tagdate) local iso = "%d%d%d%d%-%d%d%-%d%d" local url = "https://github.com/latex3/l3build/compare/" + -- update copyright + -- copied from https://github.com/latex3/latex3/blob/76104b03a42246726556384f2ca34083bc6955aa/build-config.lua#L48-L60 + if string.match(content,"%(C%)%s*[%d%-,]+ The LaTeX Project") then + local year = os.date("%Y") + content = string.gsub(content, + "%(C%)%s*([%d%-,]+) The LaTeX Project", + "(C) %1," .. year .. " The LaTeX Project") + content = string.gsub(content,year .. "," .. year,year) + content = string.gsub(content, + "%-" .. math.tointeger(year - 1) .. "," .. year, + "-" .. year) + content = string.gsub(content, + math.tointeger(year - 2) .. "," .. math.tointeger(year - 1) .. "," .. year, + math.tointeger(year - 2) .. "-" .. year) + end if string.match(file, "%.1$") then return string.gsub(content, '%.TH l3build 1 "' .. iso .. '"\n', From f13389527d2ef5e3de664c2234c14c7435332c06 Mon Sep 17 00:00:00 2001 From: Yukai Chou Date: Fri, 15 Dec 2023 04:18:58 +0800 Subject: [PATCH 2/4] Update copyright [ci skip] - Historic year lists are kept. - Year 2022 is added when corresponding file is updated in that year. --- examples/Bundle-Flat/README.md | 2 +- examples/Bundle-Tree/README.md | 2 +- examples/README.md | 2 +- examples/Simple-Flat/README.md | 2 +- examples/Simple-Tree/README.md | 2 +- l3build-clean.lua | 2 +- l3build-ctan.lua | 2 +- l3build-help.lua | 4 ++-- l3build-install.lua | 2 +- l3build-manifest-setup.lua | 2 +- l3build-manifest.lua | 2 +- l3build-stdmain.lua | 2 +- l3build-tagging.lua | 2 +- l3build-unpack.lua | 2 +- l3build-upload.lua | 2 +- l3build-zip.lua | 2 +- l3build.ins | 4 ++-- l3build.lua | 2 +- 18 files changed, 20 insertions(+), 20 deletions(-) diff --git a/examples/Bundle-Flat/README.md b/examples/Bundle-Flat/README.md index af884cf3..0678979c 100644 --- a/examples/Bundle-Flat/README.md +++ b/examples/Bundle-Flat/README.md @@ -10,6 +10,6 @@ in the build script for each module. ----- -Copyright (C) 2014-2017,2021 The LaTeX Project
+Copyright (C) 2014-2017,2021,2023 The LaTeX Project

All rights reserved. diff --git a/examples/Bundle-Tree/README.md b/examples/Bundle-Tree/README.md index 1dbaaaa6..19380079 100644 --- a/examples/Bundle-Tree/README.md +++ b/examples/Bundle-Tree/README.md @@ -10,6 +10,6 @@ in the build script for each module. ----- -Copyright (C) 2014-2017,2021 The LaTeX Project
+Copyright (C) 2014-2017,2021,2023 The LaTeX Project

All rights reserved. diff --git a/examples/README.md b/examples/README.md index d2327b13..00382198 100644 --- a/examples/README.md +++ b/examples/README.md @@ -19,6 +19,6 @@ The examples are: ----- -Copyright (C) 2014-2017,2021 The LaTeX Project
+Copyright (C) 2014-2017,2021,2023 The LaTeX Project

All rights reserved. diff --git a/examples/Simple-Flat/README.md b/examples/Simple-Flat/README.md index e2025040..fb19b169 100644 --- a/examples/Simple-Flat/README.md +++ b/examples/Simple-Flat/README.md @@ -11,6 +11,6 @@ As the `.dtx` package file grows larger, it may be sensible to split it up into ----- -Copyright (C) 2014-2017,2021 The LaTeX Project
+Copyright (C) 2014-2017,2021,2023 The LaTeX Project

All rights reserved. diff --git a/examples/Simple-Tree/README.md b/examples/Simple-Tree/README.md index eff506d2..0271817e 100644 --- a/examples/Simple-Tree/README.md +++ b/examples/Simple-Tree/README.md @@ -10,6 +10,6 @@ This is left as an exercise to the energetic package writer studying these examp ----- -Copyright (C) 2014-2017,2021 The LaTeX Project
+Copyright (C) 2014-2017,2021,2023 The LaTeX Project

All rights reserved. diff --git a/l3build-clean.lua b/l3build-clean.lua index 226650b4..0e387b66 100644 --- a/l3build-clean.lua +++ b/l3build-clean.lua @@ -1,6 +1,6 @@ --[[ -File l3build-clean.lua Copyright (C) 2018,2020,2021 The LaTeX Project +File l3build-clean.lua Copyright (C) 2018,2020,2021,2023 The LaTeX Project It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this diff --git a/l3build-ctan.lua b/l3build-ctan.lua index 2efdd140..0643a349 100644 --- a/l3build-ctan.lua +++ b/l3build-ctan.lua @@ -1,6 +1,6 @@ --[[ -File l3build-ctan.lua Copyright (C) 2018-2021 The LaTeX Project +File l3build-ctan.lua Copyright (C) 2018-2021,2023 The LaTeX Project It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this diff --git a/l3build-help.lua b/l3build-help.lua index 62d35de0..0b700df1 100644 --- a/l3build-help.lua +++ b/l3build-help.lua @@ -1,6 +1,6 @@ --[[ -File l3build-help.lua Copyright (C) 2018,2020,2021 The LaTeX Project +File l3build-help.lua Copyright (C) 2018,2020,2021,2023 The LaTeX Project It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this @@ -27,7 +27,7 @@ local match = string.match local rep = string.rep local sort = table.sort -local copyright = "Copyright (C) 2014-2021 The LaTeX Project\n" +local copyright = "Copyright (C) 2014-2021,2023 The LaTeX Project\n" function version() print( diff --git a/l3build-install.lua b/l3build-install.lua index e96259ca..299b282c 100644 --- a/l3build-install.lua +++ b/l3build-install.lua @@ -1,6 +1,6 @@ --[[ -File l3build-install.lua Copyright (C) 2018-2021 The LaTeX Project +File l3build-install.lua Copyright (C) 2018-2023 The LaTeX Project It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this diff --git a/l3build-manifest-setup.lua b/l3build-manifest-setup.lua index e74e6673..b5100712 100644 --- a/l3build-manifest-setup.lua +++ b/l3build-manifest-setup.lua @@ -1,6 +1,6 @@ --[[ -File l3build-manifest-setup.lua Copyright (C) 2018,2020,2021 The LaTeX Project +File l3build-manifest-setup.lua Copyright (C) 2018,2020,2021,2023 The LaTeX Project It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this diff --git a/l3build-manifest.lua b/l3build-manifest.lua index 5642c91c..602b9483 100644 --- a/l3build-manifest.lua +++ b/l3build-manifest.lua @@ -1,6 +1,6 @@ --[[ -File l3build-manifest.lua Copyright (C) 2018,2020,2021 The LaTeX Project +File l3build-manifest.lua Copyright (C) 2018,2020-2023 The LaTeX Project It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this diff --git a/l3build-stdmain.lua b/l3build-stdmain.lua index 4b6da667..2a81e45e 100644 --- a/l3build-stdmain.lua +++ b/l3build-stdmain.lua @@ -1,6 +1,6 @@ --[[ -File l3build-stdmain.lua Copyright (C) 2018-2021 The LaTeX Project +File l3build-stdmain.lua Copyright (C) 2018-2021,2023 The LaTeX Project It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this diff --git a/l3build-tagging.lua b/l3build-tagging.lua index 9f396505..ca7a81d1 100644 --- a/l3build-tagging.lua +++ b/l3build-tagging.lua @@ -1,6 +1,6 @@ --[[ -File l3build-tagging.lua Copyright (C) 2018-2021 The LaTeX Project +File l3build-tagging.lua Copyright (C) 2018-2021,2023 The LaTeX Project It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this diff --git a/l3build-unpack.lua b/l3build-unpack.lua index a734d4c8..3bd79d55 100644 --- a/l3build-unpack.lua +++ b/l3build-unpack.lua @@ -1,6 +1,6 @@ --[[ -File l3build-unpack.lua Copyright (C) 2018-2021 The LaTeX Project +File l3build-unpack.lua Copyright (C) 2018-2021,2023 The LaTeX Project It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this diff --git a/l3build-upload.lua b/l3build-upload.lua index 85f30071..96b5db06 100644 --- a/l3build-upload.lua +++ b/l3build-upload.lua @@ -1,6 +1,6 @@ --[[ -File l3build-upload.lua Copyright (C) 2018-2021 The LaTeX Project +File l3build-upload.lua Copyright (C) 2018-2023 The LaTeX Project It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this diff --git a/l3build-zip.lua b/l3build-zip.lua index bf03439f..016c646a 100644 --- a/l3build-zip.lua +++ b/l3build-zip.lua @@ -1,6 +1,6 @@ --[[ -File l3build-zip.lua Copyright (C) 2021 The LaTeX Project +File l3build-zip.lua Copyright (C) 2021,2023 The LaTeX Project It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this diff --git a/l3build.ins b/l3build.ins index bdb0fb7a..f026def9 100644 --- a/l3build.ins +++ b/l3build.ins @@ -1,6 +1,6 @@ \iffalse meta-comment -File l3build.ins Copyright (C) 2014-2018,2021 The LaTeX Project +File l3build.ins Copyright (C) 2014-2018,2021,2023 The LaTeX Project It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this @@ -32,7 +32,7 @@ license information is placed in the derived files. \preamble -Copyright (C) 2014-2021 The LaTeX Project +Copyright (C) 2014-2021,2023 The LaTeX Project It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of diff --git a/l3build.lua b/l3build.lua index e0cf232a..bd8eeeb1 100644 --- a/l3build.lua +++ b/l3build.lua @@ -2,7 +2,7 @@ --[[ -File l3build.lua Copyright (C) 2014-2022 The LaTeX Project +File l3build.lua Copyright (C) 2014-2023 The LaTeX Project It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this From 8645620760670d3f13d125c0281919c496b7ce0a Mon Sep 17 00:00:00 2001 From: Yukai Chou Date: Fri, 15 Dec 2023 05:36:10 +0800 Subject: [PATCH 3/4] Simplify copyright Use a file specific single range. --- examples/Bundle-Flat/README.md | 2 +- examples/Bundle-Tree/README.md | 2 +- examples/README.md | 2 +- examples/Simple-Flat/README.md | 2 +- examples/Simple-Tree/README.md | 2 +- l3build-arguments.lua | 2 +- l3build-aux.lua | 2 +- l3build-clean.lua | 2 +- l3build-ctan.lua | 2 +- l3build-help.lua | 4 ++-- l3build-manifest-setup.lua | 2 +- l3build-manifest.lua | 2 +- l3build-stdmain.lua | 2 +- l3build-tagging.lua | 2 +- l3build-typesetting.lua | 2 +- l3build-unpack.lua | 2 +- l3build-zip.lua | 2 +- l3build.ins | 4 ++-- 18 files changed, 20 insertions(+), 20 deletions(-) diff --git a/examples/Bundle-Flat/README.md b/examples/Bundle-Flat/README.md index 0678979c..30ce5583 100644 --- a/examples/Bundle-Flat/README.md +++ b/examples/Bundle-Flat/README.md @@ -10,6 +10,6 @@ in the build script for each module. ----- -Copyright (C) 2014-2017,2021,2023 The LaTeX Project
+Copyright (C) 2014-2023 The LaTeX Project

All rights reserved. diff --git a/examples/Bundle-Tree/README.md b/examples/Bundle-Tree/README.md index 19380079..aaf2beea 100644 --- a/examples/Bundle-Tree/README.md +++ b/examples/Bundle-Tree/README.md @@ -10,6 +10,6 @@ in the build script for each module. ----- -Copyright (C) 2014-2017,2021,2023 The LaTeX Project
+Copyright (C) 2014-2023 The LaTeX Project

All rights reserved. diff --git a/examples/README.md b/examples/README.md index 00382198..6e4998ba 100644 --- a/examples/README.md +++ b/examples/README.md @@ -19,6 +19,6 @@ The examples are: ----- -Copyright (C) 2014-2017,2021,2023 The LaTeX Project
+Copyright (C) 2014-2023 The LaTeX Project

All rights reserved. diff --git a/examples/Simple-Flat/README.md b/examples/Simple-Flat/README.md index fb19b169..bec1ef64 100644 --- a/examples/Simple-Flat/README.md +++ b/examples/Simple-Flat/README.md @@ -11,6 +11,6 @@ As the `.dtx` package file grows larger, it may be sensible to split it up into ----- -Copyright (C) 2014-2017,2021,2023 The LaTeX Project
+Copyright (C) 2014-2023 The LaTeX Project

All rights reserved. diff --git a/examples/Simple-Tree/README.md b/examples/Simple-Tree/README.md index 0271817e..496c188d 100644 --- a/examples/Simple-Tree/README.md +++ b/examples/Simple-Tree/README.md @@ -10,6 +10,6 @@ This is left as an exercise to the energetic package writer studying these examp ----- -Copyright (C) 2014-2017,2021,2023 The LaTeX Project
+Copyright (C) 2014-2023 The LaTeX Project

All rights reserved. diff --git a/l3build-arguments.lua b/l3build-arguments.lua index c2a9263b..ec4609f8 100644 --- a/l3build-arguments.lua +++ b/l3build-arguments.lua @@ -1,6 +1,6 @@ --[[ -File l3build-arguments.lua Copyright (C) 2018-2021,2023 The LaTeX Project +File l3build-arguments.lua Copyright (C) 2018-2023 The LaTeX Project It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this diff --git a/l3build-aux.lua b/l3build-aux.lua index 5511802c..544d1aef 100644 --- a/l3build-aux.lua +++ b/l3build-aux.lua @@ -1,6 +1,6 @@ --[[ -File l3build-aux.lua Copyright (C) 2018-2021,2023 The LaTeX Project +File l3build-aux.lua Copyright (C) 2018-2023 The LaTeX Project It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this diff --git a/l3build-clean.lua b/l3build-clean.lua index 0e387b66..60fadc66 100644 --- a/l3build-clean.lua +++ b/l3build-clean.lua @@ -1,6 +1,6 @@ --[[ -File l3build-clean.lua Copyright (C) 2018,2020,2021,2023 The LaTeX Project +File l3build-clean.lua Copyright (C) 2018-2023 The LaTeX Project It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this diff --git a/l3build-ctan.lua b/l3build-ctan.lua index 0643a349..f4fab1a0 100644 --- a/l3build-ctan.lua +++ b/l3build-ctan.lua @@ -1,6 +1,6 @@ --[[ -File l3build-ctan.lua Copyright (C) 2018-2021,2023 The LaTeX Project +File l3build-ctan.lua Copyright (C) 2018-2023 The LaTeX Project It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this diff --git a/l3build-help.lua b/l3build-help.lua index 0b700df1..878e093e 100644 --- a/l3build-help.lua +++ b/l3build-help.lua @@ -1,6 +1,6 @@ --[[ -File l3build-help.lua Copyright (C) 2018,2020,2021,2023 The LaTeX Project +File l3build-help.lua Copyright (C) 2018-2023 The LaTeX Project It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this @@ -27,7 +27,7 @@ local match = string.match local rep = string.rep local sort = table.sort -local copyright = "Copyright (C) 2014-2021,2023 The LaTeX Project\n" +local copyright = "Copyright (C) 2014-2023 The LaTeX Project\n" function version() print( diff --git a/l3build-manifest-setup.lua b/l3build-manifest-setup.lua index b5100712..41892b2a 100644 --- a/l3build-manifest-setup.lua +++ b/l3build-manifest-setup.lua @@ -1,6 +1,6 @@ --[[ -File l3build-manifest-setup.lua Copyright (C) 2018,2020,2021,2023 The LaTeX Project +File l3build-manifest-setup.lua Copyright (C) 2018-2023 The LaTeX Project It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this diff --git a/l3build-manifest.lua b/l3build-manifest.lua index 602b9483..8f136e2a 100644 --- a/l3build-manifest.lua +++ b/l3build-manifest.lua @@ -1,6 +1,6 @@ --[[ -File l3build-manifest.lua Copyright (C) 2018,2020-2023 The LaTeX Project +File l3build-manifest.lua Copyright (C) 2018-2023 The LaTeX Project It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this diff --git a/l3build-stdmain.lua b/l3build-stdmain.lua index 2a81e45e..4f1d263e 100644 --- a/l3build-stdmain.lua +++ b/l3build-stdmain.lua @@ -1,6 +1,6 @@ --[[ -File l3build-stdmain.lua Copyright (C) 2018-2021,2023 The LaTeX Project +File l3build-stdmain.lua Copyright (C) 2018-2023 The LaTeX Project It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this diff --git a/l3build-tagging.lua b/l3build-tagging.lua index ca7a81d1..b696b8a4 100644 --- a/l3build-tagging.lua +++ b/l3build-tagging.lua @@ -1,6 +1,6 @@ --[[ -File l3build-tagging.lua Copyright (C) 2018-2021,2023 The LaTeX Project +File l3build-tagging.lua Copyright (C) 2018-2023 The LaTeX Project It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this diff --git a/l3build-typesetting.lua b/l3build-typesetting.lua index c12c5447..35fba8c5 100644 --- a/l3build-typesetting.lua +++ b/l3build-typesetting.lua @@ -1,6 +1,6 @@ --[[ -File l3build-typesetting.lua Copyright (C) 2018-2021,2023 The LaTeX Project +File l3build-typesetting.lua Copyright (C) 2018-2023 The LaTeX Project It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this diff --git a/l3build-unpack.lua b/l3build-unpack.lua index 3bd79d55..6eaf7e8e 100644 --- a/l3build-unpack.lua +++ b/l3build-unpack.lua @@ -1,6 +1,6 @@ --[[ -File l3build-unpack.lua Copyright (C) 2018-2021,2023 The LaTeX Project +File l3build-unpack.lua Copyright (C) 2018-2023 The LaTeX Project It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this diff --git a/l3build-zip.lua b/l3build-zip.lua index 016c646a..3d7e14d0 100644 --- a/l3build-zip.lua +++ b/l3build-zip.lua @@ -1,6 +1,6 @@ --[[ -File l3build-zip.lua Copyright (C) 2021,2023 The LaTeX Project +File l3build-zip.lua Copyright (C) 2021-2023 The LaTeX Project It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this diff --git a/l3build.ins b/l3build.ins index f026def9..de073b3f 100644 --- a/l3build.ins +++ b/l3build.ins @@ -1,6 +1,6 @@ \iffalse meta-comment -File l3build.ins Copyright (C) 2014-2018,2021,2023 The LaTeX Project +File l3build.ins Copyright (C) 2014-2023 The LaTeX Project It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this @@ -32,7 +32,7 @@ license information is placed in the derived files. \preamble -Copyright (C) 2014-2021,2023 The LaTeX Project +Copyright (C) 2014-2023 The LaTeX Project It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of From 15c4c5d3995bff3433e925d43878a871f6a75a94 Mon Sep 17 00:00:00 2001 From: Yukai Chou Date: Fri, 15 Dec 2023 05:55:09 +0800 Subject: [PATCH 4/4] Simplify logic for updating copyright --- build.lua | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/build.lua b/build.lua index 54efe267..18eaaf79 100644 --- a/build.lua +++ b/build.lua @@ -50,20 +50,17 @@ function update_tag(file,content,tagname,tagdate) local iso = "%d%d%d%d%-%d%d%-%d%d" local url = "https://github.com/latex3/l3build/compare/" -- update copyright - -- copied from https://github.com/latex3/latex3/blob/76104b03a42246726556384f2ca34083bc6955aa/build-config.lua#L48-L60 - if string.match(content,"%(C%)%s*[%d%-,]+ The LaTeX Project") then - local year = os.date("%Y") + local year = os.date("%Y") + if string.match(content,"%(C%)%s*" .. (year - 1) .. " The LaTeX Project") then content = string.gsub(content, - "%(C%)%s*([%d%-,]+) The LaTeX Project", - "(C) %1," .. year .. " The LaTeX Project") - content = string.gsub(content,year .. "," .. year,year) + "%(C%)%s*" .. (year - 1) .. " The LaTeX Project", + "(C) " .. year .. " The LaTeX Project") + elseif string.match(content,"%(C%)%s*%d%d%d%d%-" .. (year - 1) .. " The LaTeX Project") then content = string.gsub(content, - "%-" .. math.tointeger(year - 1) .. "," .. year, - "-" .. year) - content = string.gsub(content, - math.tointeger(year - 2) .. "," .. math.tointeger(year - 1) .. "," .. year, - math.tointeger(year - 2) .. "-" .. year) + "%(C%)%s*(%d%d%d%d%-)" .. (year - 1) .. " The LaTeX Project", + "(C) %1" .. year .. " The LaTeX Project") end + -- update release date if string.match(file, "%.1$") then return string.gsub(content, '%.TH l3build 1 "' .. iso .. '"\n',