marking4/tails
author Christian Urban <urbanc@in.tum.de>
Tue, 29 Oct 2019 09:54:52 +0000 (2019-10-29)
changeset 278 0c2481cd8b1c
parent 246 178438912e5f
permissions -rwxr-xr-x
updated
#!/bin/sh
###set -e

trap "exit" INT

files=${1:-assignment20189-*}

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