marking5/compare
author Christian Urban <urbanc@in.tum.de>
Wed, 24 Jul 2019 14:22:06 +0100
changeset 266 ca48ac1d3c3e
parent 253 ec7a12806c3f
permissions -rwxr-xr-x
updated to 2.13

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

trap "exit" INT

files=${1:-assignment201810-*}

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