summaryrefslogtreecommitdiffhomepage
path: root/src/prj/mmv/examples/number.sh.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/prj/mmv/examples/number.sh.html')
-rw-r--r--src/prj/mmv/examples/number.sh.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/prj/mmv/examples/number.sh.html b/src/prj/mmv/examples/number.sh.html
new file mode 100644
index 0000000..5e8e74a
--- /dev/null
+++ b/src/prj/mmv/examples/number.sh.html
@@ -0,0 +1,2 @@
+$ <span class="sh-fn">ls</span> <span class="sh-str">'The Fellowship of the Ring.mp4'</span> … <span class="sh-str">'The Two Towers.mp4'</span> | \
+ <span class="sh-fn">mmv</span> awk <span class="sh-str">'{ gsub(" ", "-"); printf "%02d-%s", NR, tolower($0) }'</span>