Ignore:
Timestamp:
05/27/14 22:16:46 (10 years ago)
Author:
Daniela Dorner
Message:
included and/or improved check of variable certaindate
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/Processing/FillNumEvts.sh

    r17115 r17907  
    1313if [ "$certaindate" != "" ]
    1414then
     15   checkstring=`echo $certaindate | grep -E -o '^20[0-9][0-9]\/[01][0-9]\/[0-3][0-9]$'`
     16   if [ "$checkstring" = "" ]
     17   then
     18      echo "Please give the variable certaindate in the correct format (YYYY/MM/DD)"
     19      finish
     20   fi
    1521   getdates $certaindate
    1622else
Note: See TracChangeset for help on using the changeset viewer.