#!/bin/bash

if [ $# -eq 0 ] ; then
    echo test file nr arg needed 
    exit 0
fi

a.out main.cc out x < in$1 | diff - out$1
[ $? -eq 0 ] && echo no differences
