Changeset 18212
- Timestamp:
- 06/15/15 00:16:30 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Processing/FillRatescans.sh
r17906 r18212 4 4 printprocesslog "INFO starting "$0 5 5 6 # setup to use ftools7 source $HEADAS/headas-init.sh6 ## setup to use ftools 7 #source $HEADAS/headas-init.sh 8 8 9 9 logfile=$runlogpath"/FillRatescan-"$datetime".log" … … 16 16 if [ "$certaindate" != "" ] 17 17 then 18 checkstring=`echo $certaindate | grep -E -o '^20[0-9][0-9]\/[01][0-9]\/[0-3][0-9]$' `18 checkstring=`echo $certaindate | grep -E -o '^20[0-9][0-9]\/[01][0-9]\/[0-3][0-9]$'\|'^[0-9][0-9][0-9]$'` 19 19 if [ "$checkstring" = "" ] 20 20 then … … 67 67 fi 68 68 continue 69 else70 ratescannumerrors=`fverify $ratescanfile 2>/dev/null | grep -o '[0-9][ ]error(s)' | grep -E -o '[0-9]'`71 if [ $ratescannumerrors -gt 0 ]72 then73 printprocesslog "WARN for $ratescanfile fverify returned "$ratescannumerrors" error(s)."74 fi69 # else 70 # ratescannumerrors=`fverify $ratescanfile 2>/dev/null | grep -o '[0-9][ ]error(s)' | grep -E -o '[0-9]'` 71 # if [ $ratescannumerrors -gt 0 ] 72 # then 73 # printprocesslog "WARN for $ratescanfile fverify returned "$ratescannumerrors" error(s)." 74 # fi 75 75 fi 76 76
Note:
See TracChangeset
for help on using the changeset viewer.