#! /bin/csh # pwr - C Shell script to display current OASIS can conditions # set oasis = /oasis set file = `date -u +%y%j` echo "Date/time Can temp Batt Current Can Press" foreach can (drift4 drift5 drift6) cd $oasis/$can/oasis if ( -e $file ) then echo $can tail -8l $file endif end