#! /bin/csh -f foreach i (*.sout) convsp3 $i end