Be more awkish

This commit is contained in:
Ben Edgington
2021-10-25 17:24:01 +01:00
parent 964869ebce
commit 653daf5cdc

View File

@@ -21,9 +21,9 @@ BEGIN{
n++
# Generate frontmatter contents
name = gensub("^#+ (.*) <!-- .* -->$", "\\1", "1", $0)
h_path = gensub("^#+ .* <!-- (.*) -->$", "\\1", "1", $0)
heading = gensub ("^(#+ .*) <!-- .* -->$", "\\1", "1", $0)
name = gensub(/^#+ (.*) <!-- .* -->$/, "\\1", "1")
h_path = gensub(/^#+ .* <!-- (.*) -->$/, "\\1", "1")
heading = gensub (/^(#+ .*) <!-- .* -->$/, "\\1", "1")
# Is this page hidden?
if (h_path ~ /\*$/) {