Fix (I think) some strange situations where ::get() on dialogs
[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