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
cp output output1
11
#cmp -s output output1 > /dev/null
12
#if [ $? -eq 1 ]; then
13
# echo $sd + "is different"
14
#fi
15
cd ..
16
done
17
18