From 2a921bc4a4f78a7de3a39edbd39cb174db1557d7 Mon Sep 17 00:00:00 2001 From: Tomas Pospisek Date: Sat, 24 Jan 2015 01:06:53 +0100 Subject: [PATCH] factor out HTML closing tags into 'html_closing_tags' function --- dohtml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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() { -- 2.39.2