author | Christian Urban <urbanc@in.tum.de> |
Wed, 07 Aug 2019 16:15:42 +0100 | |
changeset 273 | b19227660752 |
parent 246 | 178438912e5f |
permissions | -rwxr-xr-x |
246 | 1 |
#!/bin/sh |
2 |
###set -e |
|
3 |
||
4 |
trap "exit" INT |
|
5 |
||
6 |
files=${1:-assignment20189-*} |
|
7 |
||
8 |
for sd in $files; do |
|
9 |
cd $sd |
|
10 |
#echo $sd |
|
11 |
marksone=$(( `tail -1 output` )) |
|
12 |
markstwo=$(( `tail -1 output1` )) |
|
13 |
if [ "$marksone" != "$markstwo" ]; then |
|
14 |
echo $sd + "is different" |
|
15 |
fi |
|
16 |
cd .. |
|
17 |
done |
|
18 |
||
19 |