phasemaker.csh 204 B

12345678910111213
  1. #!/bin/csh
  2. set F19PATH = $argv[1]
  3. set OUTFILE = $argv[2]
  4. set NF19 = `ls -1 $F19PATH/*.f19 | wc -l`
  5. echo $NF19 > $OUTFILE
  6. foreach i ($F19PATH/*.f19)
  7. echo "$i 2.5 0.0 5.0 500 1 1.0" >> $OUTFILE
  8. end