I am writing a script that will check the set values against a .properties file and I am just wondering if there is any nicer way to write what I have here.#!/bin/bash # @summary Check Values # --------------------------------------------------------------------------------------------------function _RunChecks{SuccessfulDiffRun=true timestamp() { date +%F; }TodaysDate=$(timestamp)#Read savedState.properties filewhile read LINE; do eval $LINE; done < savedState.properties#Compare the Valuesecho HotPatch : if [ $TodaysDate = $WD_MANAGEGOLD_DATETIMESTAMP ]; then    echo Dates Are A Match : TodaysDate:$TodaysDate = HotpatchRunDate:$WD_MANAGEGOLD_DATETIMESTAMP    if [ $SuccessfulDiffRun = $WD_MANAGEGOLD_SUCCESS ]; then        echo SuccessfulDiffRun : $WD_MANAGEGOLD_SUCCESS        echo Hotpatch Run Was Successful     else        echo SuccessfulDiffRun : $WD_MANAGEGOLD_SUCCESS        echo Exiting        exit 0    fielse    echo Dates Not A Match: TodaysDate:$TodaysDate = HotpatchRunDate:$WD_MANAGEGOLD_DATETIMESTAMP    exit 0 fiecho echo RC Prod  : if [ $TodaysDate = $WD_MANAGERC_DATETIMESTAMP ]; then    echo Dates Are A Match : TodaysDate:$TodaysDate = RCRunDate:$WD_MANAGERC_DATETIMESTAMP    if [ $SuccessfulDiffRun = $WD_MANAGERC_SUCCESS ]; then        echo SuccessfulDiffRun : $WD_MANAGERC_SUCCESS        echo RC Run Was Successful    else        echo SuccessfulDiffRun : $WD_MANAGERC_SUCCESS        echo Exiting        exit 0    fielse    echo Dates Not A Match: TodaysDate:$TodaysDate = HotpatchRunDate:$WD_MANAGEGOLD_DATETIMESTAMP    exit 0 fi}# --------------------------------------------------------------------------------------------------# @summary Start_RunChecks
Checking dates against a .properties file
performance;datetime;bash;shell