projects
/
dcpomatic.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Rename some variables and re-implement collect().
[dcpomatic.git]
/
hacks
/
poor_mans_digest
1
#!/bin/bash
2
3
head -c 1000000 "$1" > /tmp/$$.a
4
tail -c 1000000 "$1" > /tmp/$$.b
5
cat /tmp/$$.a /tmp/$$.b | md5sum