I think I'm getting a hang of it. We only need ten lines of code for this.
echo "Shell Script For Project 2" >> CaptureFile.txt
echo $shell
echo $path
#
## List all files into a variable file.
#
set files = `ls /home/meteo/atb5006/ProjectCombined/data*.f`
#
## For each is another loop.
#
@ count = 1
clear
foreach processfile ($files)
echo "Processing File $count == $processfile"
echo "Shell Script For Project 2" >> CaptureFile.txt
echo $shell
echo $path
#
## List all files into a variable file.
#
set files = `ls /home/meteo/atb5006/ProjectCombined/data*.f`
#
## For each is another loop.
#
@ count = 1
clear
foreach processfile ($files)
echo "Processing File $count == $processfile"
