#!/bin/csh
foreach f1 (*[1-5])
 foreach f2 (*[1-5])
 if ($f1 != $f2) then
  echo -n $f1 $f2 |awk '{printf "%-32s%-32s",$1,$2}' >> all.txt
  ./f $f1 $f2 ooo_${f1}_${f2}_ooo 1 114 >& /dev/null
  tail -1 ooo_${f1}_${f2}_ooo >> all.txt
 endif
end
end
