#!/bin/sh# ad hoc debug toolx=$1y=$2xout=`basename $x`.xxx.$$yout=`basename $x`.yyy.$$mkdir $xoutmkdir $youtfor i in *.sdoecho Testing $i...object=`basename $i .s`.o$x $i -o $xout/$object$y $i -o $yout/$object# if they cmp, we're ok. Otherwise we have to look closer.if (cmp $xout/$object $yout/$object)thenecho $i is ok.elseif (doobjcmp $xout/$object $yout/$object)thenecho Not the same but objcmp ok.elseexit 1fifiechodonerm -rf $xout $youtexit 0# EOF