Created
December 5, 2015 04:19
-
-
Save vilbeyli/d06983622ffcfee0d463 to your computer and use it in GitHub Desktop.
bash script for automating diffing outputs of cs525 assignments
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 i in `seq 0 $1` | |
do | |
./gnu.exe $i > sout$i | |
done | |
for i in `seq 0 $1` | |
do | |
printf "diff out$i sout$i:\n" | |
diff out$i sout$i | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment