marking3/compare
author Christian Urban <urbanc@in.tum.de>
Sat, 22 Jun 2019 08:39:52 +0100
changeset 265 59779ce322a6
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
  cp output output1
  #cmp -s output output1 > /dev/null
  #if [ $? -eq 1 ]; then
  #    echo $sd + "is different"
  #fi
  cd ..
done