marking3/compare
changeset 244 a359976a6f3e
equal deleted inserted replaced
243:9bb36426c781 244:a359976a6f3e
       
     1 #!/bin/sh
       
     2 ###set -e
       
     3 
       
     4 trap "exit" INT
       
     5 
       
     6 files=${1:-assignment20188-*}
       
     7 
       
     8 for sd in $files; do
       
     9   cd $sd
       
    10   cp output output1
       
    11   #cmp -s output output1 > /dev/null
       
    12   #if [ $? -eq 1 ]; then
       
    13   #    echo $sd + "is different"
       
    14   #fi
       
    15   cd ..
       
    16 done
       
    17 
       
    18