summaryrefslogtreecommitdiff
path: root/hacks
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-04-10 09:38:42 +0100
committerCarl Hetherington <cth@carlh.net>2017-04-19 23:04:32 +0100
commit361248ef52bcd3de2d0a1e18b635d177fded81a1 (patch)
treefbbecbe78791332bb79b4ffc7f2ed1ddab33b207 /hacks
parent4073923b2c5ccf127c61435cd575542351421f05 (diff)
Add hack script.
Diffstat (limited to 'hacks')
-rw-r--r--hacks/poor_mans_digest5
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