summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-09-12 01:24:47 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-09-12 01:24:47 +0200
commit980eb2773db31238c180752bb083aa4578535b6e (patch)
tree58a504cc883977631847ab54e19fff78e7b14091
parenta3d876e3764b6aa25d0d42ac452acc55a999b746 (diff)
Remove the ‘m4_gsp_quote’ macro
-rw-r--r--include/lib.m46
-rw-r--r--src/prj/mkpass/basic-usage.sh.gsp2
2 files changed, 1 insertions, 7 deletions
diff --git a/include/lib.m4 b/include/lib.m4
index 3d0e50f..6220c84 100644
--- a/include/lib.m4
+++ b/include/lib.m4
@@ -18,11 +18,5 @@ m4_define(
⁨m4_esyscmd(fmt-code "$1" m4___file__)m4_dnl⁩
)
-m4_dnl Macro to escape characters in gsp(5) text-nodes
-m4_define(
- m4_gsp_quote,
- ⁨m4_patsubst(⁨$1⁩, ⁨[@}\\]⁩, ⁨\\\&⁩)⁩
-)
-
m4_dnl Macro for generating abbrevations
m4_define(m4_abbr, ⁨@abbr .m4_translit($1, A-Z2, a-zt) {-$1}⁩)
diff --git a/src/prj/mkpass/basic-usage.sh.gsp b/src/prj/mkpass/basic-usage.sh.gsp
index bd8ddf7..d3ce051 100644
--- a/src/prj/mkpass/basic-usage.sh.gsp
+++ b/src/prj/mkpass/basic-usage.sh.gsp
@@ -1,5 +1,5 @@
$ @span .sh-fn {-mkpass}
-m4_gsp_quote(⁨;%_)1S%wYO-unC6%D2pz9'bx^YFI>"VX;T[jzOUsiUr}r/R#T0Qs*XMT*fUef|2L⁩)m4_dnl
+;%_)1S%wYO-unC6%D2pz9'bx^YFI>"VX;T[jzOUsiUr\}r/R#T0Qs*XMT*fUef|2L
$ @span .sh-fn {-mkpass} a-zA-Z0-9
qTneHVHfwH3b1nCanKKW24lIcsRO2TUAgp7AGbZInfsV8ZjdsR35ZikHIzyUu06x
$ @span .sh-fn {-mkpass} [:alpha:][:digit:]