marking4/compare
author Christian Urban <urbanc@in.tum.de>
Wed, 30 Oct 2019 12:37:18 +0000
changeset 286 5c57c407e27b
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
  cp output output1
  #cmp -s output output1 > /dev/null
  #if [ $? -eq 1 ]; then
  #    echo $sd + "is different"
  #fi
  cd ..
done