Hi,
My variable has value as this:
tvar1="bool_risk_enabled" Boolean "true"
Now I need to replace this true with false. Which is the best way to do this? Can we do this with sed command?
Please help me.
---------- Post updated at 05:23 PM ---------- Previous update was at 05:00 PM ----------
tvar3=$(echo ${tvar2} | sed -e's/true/false/')
echo ${tvar3}
This worked. Thanks to myself