Created
December 12, 2017 10:26
-
-
Save ohga/b5deedd22a494042f58f1165809f2482 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
for file in `ls -1 shufout_*` ; do | |
size=`wc -c ${file} | awk '{printf("%f",($1/38));}'` | |
echo -n "check ${file} ${size} .. " | |
# /path/to/apery check_teacher $file $((`nproc`-1)) | |
/path/to/apery check_teacher $file `nproc` | |
if [ $? = 0 ]; then | |
echo "ok" | |
else | |
echo "ng.." | |
exit $? | |
fi | |
done | |
echo "all ok!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment