summaryrefslogtreecommitdiffhomepage
path: root/src/prj/mmv/sha1sum-long-example.sh.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/prj/mmv/sha1sum-long-example.sh.html')
-rw-r--r--src/prj/mmv/sha1sum-long-example.sh.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/prj/mmv/sha1sum-long-example.sh.html b/src/prj/mmv/sha1sum-long-example.sh.html
new file mode 100644
index 0000000..ddbda86
--- /dev/null
+++ b/src/prj/mmv/sha1sum-long-example.sh.html
@@ -0,0 +1,11 @@
+$ <span class="sh-fn">touch</span> foo bar
+$ <span class="sh-fn">cat</span> &lt;&lt;<span class="sh-hd">EOF</span> &gt;hash-filename
+<span class="sh-hd">#!/bin/sh</span>
+
+<span class="sh-hd">sha1sum | awk '{ print \$1 }'</span>
+<span class="sh-hd">EOF</span>
+$ <span class="sh-fn">chmod</span> +x hash-filename
+$ <span class="sh-fn">ls</span> foo bar | <span class="sh-fn">mmv</span> -i ./hash-filename
+$ <span class="sh-fn">ls</span>
+e242ed3bffccdf271b7fbaf34ed72d089537b42f hash-filename
+f1d2d2f924e986ac86fdf7b36c94bcdf32beec15