#! /bin/csh # getm1 - C Shell script to download data from OASIS mooring at M1 # and extract the data # set oasis = /oasis cd $oasis/raw set noclobber set noglob set hour = `date +%H` set hrcmp = 10 if ( $#argv > 0 ) set hrcmp = $1 if ( $hour > $hrcmp ) then echo "Hour is $hour" endif