#! /bin/csh # process.one - C Shell script to reprocessed data for one OASIS sensor # set oasis = /oasis set cfg = /usr/local/oasis/cfg set nonomatch if ($#argv <= 0) then echo "Usage: $0 sensor exit endif set name = $1 set first = 1 rm -f data/$name data/$name.Z foreach file ($name/9*) if ( $first ) then cp $file data/$name first = 0 else fgrep -v \# $file >> data/$name endif end