diff options
Diffstat (limited to 'src/prj/mmv')
-rw-r--r-- | src/prj/mmv/camel-to-snake-naïve.sh.gsp | 2 | ||||
-rw-r--r-- | src/prj/mmv/camel-to-snake-smart.sh.gsp | 2 | ||||
-rw-r--r-- | src/prj/mmv/examples/camel-to-snake.sh.gsp | 2 | ||||
-rw-r--r-- | src/prj/mmv/index.gsp | 2 |
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 |