Files
pcp/tests/md5
2014-03-10 17:05:41 +01:00

8 lines
108 B
Bash
Executable File

#!/bin/sh
file=$1
if type md5 > /dev/null 2>&1; then
md5 -q $*
else
md5sum $* | awk '{print $1}'
fi