#!/bin/sh ./Main stage_5/valid/$1 > out.s gcc out.s echo "on my compiler:" ./a.out echo $? gcc stage_5/valid/$1 echo "on gcc" ./a.out echo $?