summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-09-12 01:29:05 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-09-12 01:29:05 +0200
commita7f766f667309ff539855646bc3cfc6e217523f7 (patch)
treeb367e3e53d0142641fe459b56cd352d65db6d23a
parent980eb2773db31238c180752bb083aa4578535b6e (diff)
Use ZWNJ to avoid certain ligations
-rw-r--r--src/prj/mmv/camel-to-snake-naïve.sh.gsp2
-rw-r--r--src/prj/mmv/camel-to-snake-smart.sh.gsp2
-rw-r--r--src/prj/mmv/examples/camel-to-snake.sh.gsp2
-rw-r--r--src/prj/mmv/index.gsp2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/prj/mmv/camel-to-snake-naïve.sh.gsp b/src/prj/mmv/camel-to-snake-naïve.sh.gsp
index cd0d156..0d7b84b 100644
--- a/src/prj/mmv/camel-to-snake-naïve.sh.gsp
+++ b/src/prj/mmv/camel-to-snake-naïve.sh.gsp
@@ -1,2 +1,2 @@
@span .sh-cmt {-# If you aren’t a shell-guru, take a moment to figure out how this works!}
-$ @span .sh-fn {-ls} *.[ch] | @span .sh-fn {-sed} @span .sh-str {-'p; s/[A-Z]/\\L_&/g'} | @span .sh-fn {-xargs} -L2 mv
+$ @span .sh-fn {-ls} *.[ch] | @span .sh-fn {-sed} @span .sh-str {-'p; s/[A-Z]/‌\\L_&/g'} | @span .sh-fn {-xargs} -L2 mv
diff --git a/src/prj/mmv/camel-to-snake-smart.sh.gsp b/src/prj/mmv/camel-to-snake-smart.sh.gsp
index 9ce6123..09b2405 100644
--- a/src/prj/mmv/camel-to-snake-smart.sh.gsp
+++ b/src/prj/mmv/camel-to-snake-smart.sh.gsp
@@ -1 +1 @@
-$ @span .sh-fn {-ls} *.[ch] | @span .sh-fn {-mmv} sed @span .sh-str {-'s/[A-Z]/\\L_&/g'}
+$ @span .sh-fn {-ls} *.[ch] | @span .sh-fn {-mmv} sed @span .sh-str {-'s/[A-Z]/‌\\L_&/g'}
diff --git a/src/prj/mmv/examples/camel-to-snake.sh.gsp b/src/prj/mmv/examples/camel-to-snake.sh.gsp
index 7948861..91cc87c 100644
--- a/src/prj/mmv/examples/camel-to-snake.sh.gsp
+++ b/src/prj/mmv/examples/camel-to-snake.sh.gsp
@@ -1 +1 @@
-$ @span .sh-fn {-git} ls-files @span .sh-str {-'*.[ch]'} | @span .sh-fn {-mmv} sed @span .sh-str {-'s/[A-Z]/\\L_&/g'}
+$ @span .sh-fn {-git} ls-files @span .sh-str {-'*.[ch]'} | @span .sh-fn {-mmv} sed @span .sh-str {-'s/[A-Z]/‌\\L_&/g'}
diff --git a/src/prj/mmv/index.gsp b/src/prj/mmv/index.gsp
index f049426..3f3ba81 100644
--- a/src/prj/mmv/index.gsp
+++ b/src/prj/mmv/index.gsp
@@ -194,7 +194,7 @@ html lang="en" {
input will be referred to as the @em{-input files}. Once all the input
files have been read, the utility specified by the arguments is spawned;
in this case that would be @code{-sed} with the argument
- @code{-'s/[A-Z]/\\L_&/g'}. The input files are then piped into
+ @code{-'s/[A-Z]/‌\\L_&/g'}. The input files are then piped into
@code{-sed} the exact same way that they would have been if we ran the
above commands without @code{-mmv}, and the output of @code{-sed} then
forms what will be referred to as the @em{-output files}. Once a