Created
December 9, 2010 12:31
-
-
Save erenon/734668 to your computer and use it in GitHub Desktop.
Checks the digit resoult
This file contains hidden or 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/bash | |
wget http://home.mit.bme.hu/~laczko/digit_eredmenyek.pdf -N -q | |
if [ -e "digit_md5" ]; then | |
md5sum digit_md5 --status -c | |
if [ $? != 0 ]; then | |
echo "===FRISSÜLT===" | |
fi | |
else | |
echo "Új md5 generálása..." | |
md5sum digit_eredmenyek.pdf > digit_md5 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment