marking3/tails
author Christian Urban <urbanc@in.tum.de>
Thu, 17 Jan 2019 00:31:32 +0000
changeset 255 44f2b6e34015
parent 244 a359976a6f3e
permissions -rwxr-xr-x
updated

#!/bin/sh
###set -e

trap "exit" INT

files=${1:-assignment20188-*}

for sd in $files; do
  cd $sd
  #echo $sd
  marksone=$(( `tail -1 output` ))
  markstwo=$(( `tail -1 output1` ))
  if [ "$marksone" != "$markstwo" ]; then
      echo $sd + "is different"
  fi
  cd ..
done