#!/bin/csh -bf # # gp.chk_bias_flags # @ i=1 set sta = `ls *.qm` foreach file ($sta) grep "stanml($i)" ambigon.nml echo " " @ i=$i + 1 end