From a7f766f667309ff539855646bc3cfc6e217523f7 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 12 Sep 2023 01:29:05 +0200 Subject: Use ZWNJ to avoid certain ligations --- "src/prj/mmv/camel-to-snake-na\303\257ve.sh.gsp" | 2 +- src/prj/mmv/camel-to-snake-smart.sh.gsp | 2 +- src/prj/mmv/examples/camel-to-snake.sh.gsp | 2 +- src/prj/mmv/index.gsp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git "a/src/prj/mmv/camel-to-snake-na\303\257ve.sh.gsp" "b/src/prj/mmv/camel-to-snake-na\303\257ve.sh.gsp" index cd0d156..0d7b84b 100644 --- "a/src/prj/mmv/camel-to-snake-na\303\257ve.sh.gsp" +++ "b/src/prj/mmv/camel-to-snake-na\303\257ve.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 -- cgit v1.2.3