Changeset 17905
- Timestamp:
- 05/27/14 22:15:04 (10 years ago)
- Location:
- trunk/DataCheck/Transfer
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Transfer/BackupRawToWue.sh
r17594 r17905 13 13 if [ "$certaindate" != "" ] 14 14 then 15 checkstring=`echo $certaindate | grep -E -o ' 20[0-9][0-9]\/[01][0-9]\/[0-3][0-9]'`15 checkstring=`echo $certaindate | grep -E -o '^20[0-9][0-9]\/[01][0-9]\/[0-3][0-9]$'` 16 16 if [ "$checkstring" = "" ] 17 17 then -
trunk/DataCheck/Transfer/CheckTransfer.sh
r17889 r17905 108 108 if [ "$certaindate" != "" ] 109 109 then 110 checkstring=`echo $certaindate | grep -E -o ' 20[0-9][0-9]\/[01][0-9]\/[0-3][0-9]'`110 checkstring=`echo $certaindate | grep -E -o '^20[0-9][0-9]\/[01][0-9]\/[0-3][0-9]$'` 111 111 if [ "$checkstring" = "" ] 112 112 then -
trunk/DataCheck/Transfer/ZipRawData.sh
r17617 r17905 19 19 if [ "$certaindate" != "" ] 20 20 then 21 checkstring=`echo $certaindate | grep -E -o '^20[0-9][0-9]\/[01][0-9]\/[0-3][0-9]$'` 22 if [ "$checkstring" = "" ] 23 then 24 echo "Please give the variable certaindate in the correct format (YYYY/MM/DD)" 25 finish 26 fi 21 27 getdates $certaindate 22 28 else
Note:
See TracChangeset
for help on using the changeset viewer.