#! /bin/csh # process - C Shell script to remove processed OASIS data # and reprocess it all # set oasis = /oasis set hdr = $oasis/cfg/drift set bin = $oasis/bin set tmp = /oasis/tmp set nonomatch foreach can (drift4 drift5 drift6) cd $oasis/$can foreach name (fluor gps nitrate no3 oasis transmiss) rm -f data/$name cp $hdr/$name.hdr data/$name set year = 95 foreach file ($name/$year*) grep -v \# $file >> data/$name end end end