summary refs log tree commit diff stats
path: root/gmi2html.awk
diff options
context:
space:
mode:
authorjwinnie <jwinnie@tilde.institute>2021-11-29 21:11:03 -0500
committerjwinnie <jwinnie@tilde.institute>2021-11-29 21:11:03 -0500
commit0af52bf531c64f6b7d0c10bdbce8dc0cd9bf1661 (patch)
treebcc526c0f64bf2b67621f553ef2edafd2a8f7991 /gmi2html.awk
parent94096519799fb245e3291869d1e1d199fa948338 (diff)
downloadgmi2html-0af52bf531c64f6b7d0c10bdbce8dc0cd9bf1661.tar.gz
Fix variable name conflict in AWK
Diffstat (limited to 'gmi2html.awk')
-rwxr-xr-xgmi2html.awk6
1 files changed, 3 insertions, 3 deletions
diff --git a/gmi2html.awk b/gmi2html.awk
index 0193e6e..3092852 100755
--- a/gmi2html.awk
+++ b/gmi2html.awk
@@ -21,12 +21,12 @@
 #   $ awk -f gmi2html.awk \
 #       -v title=<title> \
 #       -v css=<css> \
-#       -v url=<url> < path/to/gmi > path/to/html
+#       -v original=<original> < path/to/gmi > path/to/html
 #
 # parameters:
 #   <title>: the title of the document, used in the HTML <title>
 #   <css>: relative path to a CSS stylesheet
-#   <url>: URL of the original Gemini document, linked in the footer
+#   <original>: URL of the original Gemini document, linked in the footer
 
 # Begin HTML document
 BEGIN {
@@ -174,5 +174,5 @@ Also available on <a href=\"gemini://%s\">Gemini</a>\
 </small>\
 </footer>\
 </body>\
-</html>", url
+</html>", original
 }