#!/bin/tcsh #sample script #extract the predicted temperature for today at 0UT# set echo set SITE_DIR = /home/web/eso/docs/gen-fac/pubs/astclim/forecast/meteo/verification set today = `date -u +%Y"."%m"."%d` set hour = 00 awk '($2 == "'$hour'" && $1 == "'$today'" && $6 < 900) {print($1,$2"UT","Tair(C)="$6/10.)}' $SITE_DIR/Paranal/images/input.te