Loading other/get_md5.sh +6 −3 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ if [ $# -lt 2 ]; then echo "Usage: $0 proc_output_dir testname.md5" echo "Requires: md5sum" echo "Requires: md5sum (Linux) or md5 (macOS)" exit 1 fi Loading @@ -45,7 +45,10 @@ else md5=md5sum fi echo "" > $2 tmpfile=`mktemp` echo "" > $tmpfile for f in $(find $1 -name "*c??.wav"); do echo ${f##*/} $($md5 $f | awk '{ print toupper($1) }') >>$2 echo ${f##*/} $($md5 $f | awk '{ print toupper($1) }') >> $tmpfile done cat $tmpfile | sort > $2 rm -f $tmpfile Loading
other/get_md5.sh +6 −3 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ if [ $# -lt 2 ]; then echo "Usage: $0 proc_output_dir testname.md5" echo "Requires: md5sum" echo "Requires: md5sum (Linux) or md5 (macOS)" exit 1 fi Loading @@ -45,7 +45,10 @@ else md5=md5sum fi echo "" > $2 tmpfile=`mktemp` echo "" > $tmpfile for f in $(find $1 -name "*c??.wav"); do echo ${f##*/} $($md5 $f | awk '{ print toupper($1) }') >>$2 echo ${f##*/} $($md5 $f | awk '{ print toupper($1) }') >> $tmpfile done cat $tmpfile | sort > $2 rm -f $tmpfile