#!/bin/csh #Brian Schlinig #extractM1_09 set startdate = 97212 set endate = 97262 set date = $startdate set can = ep1 set filepath = /oasis/may97/raw while($date < $endate) foreach file ($filepath/$can.$date.*) echo extracting: $file nice /oasis/bin/extract -i specprr -c /oasis.old/brian/mooring/cfg/$can.cfg $file end @ date ++ end set startdate = 97264 set endate = 97365 set date = $startdate while($date < $endate) foreach file ($filepath/$can.$date.*) echo extracting: $file nice /oasis/bin/extract -i specprr -c /oasis.old/brian/mooring/cfg/$can.cfg $file end @ date ++ end set startdate = 98001 set endate = 98267 set date = $startdate while($date < $endate) foreach file ($filepath/$can.$date.*) echo extracting: $file nice /oasis/bin/extract -i specprr -c /oasis.old/brian/mooring/cfg/$can.cfg $file end @ date ++ end