1 #!/bin/sh
2 ###set -e
3
4 trap "exit" INT
5
6 files=${1:-assignment20177-*}
7
8 for sd in $files; do
9 cd $sd
10 #echo $sd
11 tail -1 output
12 cd ..
13 done
14
15