format_url=$(echo $new_url | sed  "s#/#\\/#g")
The echo command is giving the desired output. But I am unable to capture the output in a variable. Please suggest.
format_url=$(echo $new_url | sed  "s#/#\\/#g")
The echo command is giving the desired output. But I am unable to capture the output in a variable. Please suggest.
