#! /bin/csh
# pwr - C Shell script to display current OASIS can conditions
#
set oasis = /oasis
set file = `date +%Y%j`

echo "Date/time  Can temp  Batt  Current Can Press"

foreach can (m1 m2 m3 m4)
    cd $oasis/$can/oasis
    if ( -e $file ) then
	echo $can
	tail -8l $file | grep -v \#
    endif
end
