Debian Codegraph @

deps/phc-winner-argon2-20190702/kats/check-sums.sh

raw symbols SCIP
1 #!/bin/sh
2
3 for file in `ls | grep '^[a-z2]*\(_v\)\?[0-9]*$' | xargs`
4 do
5 new=`shasum -a 256 $file`
6 old=`cat $file.shasum`
7 if [ "$new" = "$old" ]
8 then
9 echo $file "\t" OK
10 else
11 echo $file "\t" ERROR
12 fi
13 done