blob: f997509ca8101203ce31e8813531fc4fd736deb0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
$ @span .sh-fn {-touch} foo bar
$ @span .sh-fn {-cat} <<@span .sh-hd {-EOF} >hash-filename
@span .sh-hd {-#!/bin/sh}
@span .sh-hd {-sha1sum | awk '{ print \\$1 \}'}
@span .sh-hd {-EOF}
$ @span .sh-fn {-chmod} +x hash-filename
$ @span .sh-fn {-ls} foo bar | @span .sh-fn {-mmv} -i ./hash-filename
$ @span .sh-fn {-ls}
e242ed3bffccdf271b7fbaf34ed72d089537b42f hash-filename
f1d2d2f924e986ac86fdf7b36c94bcdf32beec15
|