|
How to fetch variable value in if block and to compare it with certain string
Hi,
I am trying to execute this command
if [ `$exception_info | grep "Exception if any" > /dev/null 2>&1; echo $?` -eq 0 ]; then
but getting error .Some problem with reteriving the value of $exception_info.
Please help.Its urgent.
thanks
|