Hi,
I am trying to remove the caret symbol from a bash variable. This is the variable:
var="GOTAN^TOK^B"
and this is the code I am trying to use to remove the caret symbol:
nocarrot=`echo $var | sed -e 's/^/_/g'`
This is the output intended (but not acheived with the above function):
GOTAN_TOK_B
Please help. Thanks in advance.