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