Changeset 17908


Ignore:
Timestamp:
05/27/14 22:17:26 (10 years ago)
Author:
Daniela Dorner
Message:
included check of variable certaindate
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/DataCheck/PlotQuality.sh

    r17589 r17908  
    77if [ "$certaindate" != "" ]
    88then
     9   checkstring=`echo $certaindate | grep -E -o '^20[0-9][0-9]\/[01][0-9]\/[0-3][0-9]$'`
     10   if [ "$checkstring" = "" ]
     11   then
     12      echo "Please give the variable certaindate in the correct format (YYYY/MM/DD)"
     13      finish
     14   fi
    915   getdates $certaindate
    1016else
     
    2632for date in ${dates[@]}
    2733do
    28    #echo $date
     34   #echo "processing "$date"..."
    2935   outpath=$anapath/quality/$date
    3036   logfile=$anapath/quality/$date/quality.log
Note: See TracChangeset for help on using the changeset viewer.