marking5/tails
changeset 253 ec7a12806c3f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/marking5/tails	Wed Jan 16 12:20:34 2019 +0000
@@ -0,0 +1,19 @@
+#!/bin/sh
+###set -e
+
+trap "exit" INT
+
+files=${1:-assignment201810-*}
+
+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
+
+