summaryrefslogtreecommitdiffhomepage
path: root/src/prj/mmv/camel-to-snake-naïve.sh.html
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-08-15 14:57:32 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-08-15 14:57:32 +0200
commitd5635e946e9df6f519ec8cf08cebfc35dbe6c788 (patch)
tree46893cffdf23a2b15f8b7839c69d5df2bcbb8bca /src/prj/mmv/camel-to-snake-naïve.sh.html
parentcfa35dcb2d332977e80a5811b6d42e9949bd4814 (diff)
Add a post on ‘mmv’
Diffstat (limited to 'src/prj/mmv/camel-to-snake-naïve.sh.html')
-rw-r--r--src/prj/mmv/camel-to-snake-naïve.sh.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/prj/mmv/camel-to-snake-naïve.sh.html b/src/prj/mmv/camel-to-snake-naïve.sh.html
new file mode 100644
index 0000000..573da41
--- /dev/null
+++ b/src/prj/mmv/camel-to-snake-naïve.sh.html
@@ -0,0 +1,2 @@
+<span class="sh-cmt"># If you aren’t a shell-guru, take a moment to figure out how this works!</span>
+$ <span class="sh-fn">ls</span> *.[ch] | <span class="sh-fn">sed</span> <span class="sh-str">'p; s/[A-Z]/\L_&/g'</span> | <span class="sh-fn">xargs</span> -L2 mv