aboutsummaryrefslogtreecommitdiffstats
path: root/gem2gem.awk
diff options
context:
space:
mode:
authorsejo <sejo@texto-plano.xyz>2021-05-20 23:30:43 -0500
committersejo <sejo@texto-plano.xyz>2021-05-20 23:30:43 -0500
commit0e16e130fcd2e74d6d5a9a778b96dd9c718e73e9 (patch)
tree18c6ce8cfd637b66df58bf57b4de3fab4a487539 /gem2gem.awk
parent4d607b8316a61d7563b1ed399738aa9caae0b954 (diff)
downloadsitio-0e16e130fcd2e74d6d5a9a778b96dd9c718e73e9.tar.gz
gem2gem ignora % de uxn
Diffstat (limited to 'gem2gem.awk')
-rw-r--r--gem2gem.awk3
1 files changed, 2 insertions, 1 deletions
diff --git a/gem2gem.awk b/gem2gem.awk
index 6f1ff5f..6537d79 100644
--- a/gem2gem.awk
+++ b/gem2gem.awk
@@ -17,7 +17,8 @@
}
# si tienen sintaxis de wikilink, y no son líneas de enlace, agrega el link
-/^[^=].+{.+}/{
+# (el % es por las líneas de uxn jaja)
+/^[^=%].+{.+}/{
i = match( $0, /{.+}/)
ifinal = index($0, "}") # índice del } final
Un proyecto texto-plano.xyz