Hi,All
I wrote below script(Example1.sh) and i ran but i got error. it's excuted yesterday.
SYSTEM_TIME=`date '+%H:%M:%S'`
CMP\_LOG_TIME=\`head -1 runcmp-HINET.log\`
CMP_ENDED1=\`grep 'HINET CMP ended' runcmp-HINET.log\`
CMP_ENDED2=\`echo "HINET CMP ended"\`
CMP_FAILED2=\`echo "HINET CMP failed"\`
FAILED_TIME1="0"
echo $SYSTEM_TIME
echo $CMP_ENDED1
Error:
77 DIT1_hnt@smmk183> Example1.sh
SYSTEM_TIME=06:40:13: Command not found
CMP_LOG_TIME=`head -1 runcmp-HINET.log`: Ambiguous
CMP_ENDED1=: Command not found
CMP_ENDED2=`echo "HINET CMP ended"`: Ambiguous
CMP_FAILED2=`echo "HINET CMP failed"`: Ambiguous
FAILED_TIME1=0: Command not found
SYSTEM_TIME: Undefined variable
please help me on this