diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-04-10 09:38:42 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-04-19 23:04:32 +0100 |
| commit | 361248ef52bcd3de2d0a1e18b635d177fded81a1 (patch) | |
| tree | fbbecbe78791332bb79b4ffc7f2ed1ddab33b207 /hacks | |
| parent | 4073923b2c5ccf127c61435cd575542351421f05 (diff) | |
Add hack script.
Diffstat (limited to 'hacks')
| -rw-r--r-- | hacks/poor_mans_digest | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hacks/poor_mans_digest b/hacks/poor_mans_digest new file mode 100644 index 000000000..843a28f76 --- /dev/null +++ b/hacks/poor_mans_digest @@ -0,0 +1,5 @@ +#!/bin/bash + +head -c 1000000 "$1" > /tmp/$$.a +tail -c 1000000 "$1" > /tmp/$$.b +cat /tmp/$$.a /tmp/$$.b | md5sum |
