From: Tomas Pospisek Date: Sat, 24 Jan 2015 00:06:53 +0000 (+0100) Subject: factor out HTML closing tags X-Git-Url: https://git.donarmstrong.com/?p=bugscan.git;a=commitdiff_plain;h=2a921bc4a4f78a7de3a39edbd39cb174db1557d7 factor out HTML closing tags into 'html_closing_tags' function --- diff --git a/dohtml b/dohtml index 8315a38..e1f1c65 100755 --- a/dohtml +++ b/dohtml @@ -30,6 +30,13 @@ Please contact EOF } +html_closing_tags() { + cat < + +EOF +} + realmakepage() { local filter="$1" # Distributions to list local title="$2" # Title of page @@ -87,10 +94,7 @@ EOF html_page_creation_notice - cat < - -EOF + html_closing_tags } makemainpage() {