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/FillAuxCurrents.sh

    r17597 r17907  
    2828if [ "$certaindate" != "" ]
    2929then
     30   checkstring=`echo $certaindate | grep -E -o '^20[0-9][0-9]\/[01][0-9]\/[0-3][0-9]$'`
     31   if [ "$checkstring" = "" ]
     32   then
     33      echo "Please give the variable certaindate in the correct format (YYYY/MM/DD)"
     34      finish
     35   fi
    3036   getdates $certaindate
    3137else
Note: See TracChangeset for help on using the changeset viewer.