|
Answer» please help!! I am loosing my mind..... I am TRYING to ASSIGN the DATE from the file like FILE_DATE= cat smg_success.txt | awk '{print substr($0,13,10) }' AND today_date=$( date +%m/%d/%Y )
Then I am using If LOGIC to see if $FILE_DATE = $today_date and it's doesn't work, I realized that $FILE_DATE is not holding the substring product..however it's PRINTING on the screen the expected '12/20/2005' I don't need to print..., I need to be able to compare these values.. THANKS IN ADVANCE !!! Vicky
|