From 055961ce60da0c22b1273a0e9bc1cbe4adcc9215 Mon Sep 17 00:00:00 2001 From: Tomas Pospisek Date: Sat, 24 Jan 2015 01:17:33 +0100 Subject: [PATCH] name parameters to make code easier to understand --- dohtml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dohtml b/dohtml index 07e5bb3..cbef6c0 100755 --- a/dohtml +++ b/dohtml @@ -98,6 +98,8 @@ EOF } makemainpage() { + local title="$1" # Title of page + local time="$2" # Date header "$title" "$time" @@ -186,6 +188,6 @@ makepage "" "$title" "$htmldir/other/stable.html" "$time" "-b" makepage "" "$title" "$htmldir/other/testing.html" "$time" "-t" makepage "" "$title" "$htmldir/other/pseudo.html" "$time" "pseudo" -makemainpage > $htmldir/index.html.new +makemainpage "$title" "$time" > $htmldir/index.html.new mv -f $htmldir/index.html.new $htmldir/index.html -- 2.39.2