#! /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" cd $oasis/m1/oasis if ( -e $file ) then echo "M1A" tail -8l $file endif cd $oasis/m1/oasis.m1b if ( -e $file ) then echo "M1B" tail -8l $file endif cd $oasis/m2/oasis if ( -e $file ) then echo "M2" tail -8l $file endif