I want to replace the following text
text := a \
b \
c
with the following one:
text := d \
e \
f
in bash file.
I have tried different versions of 'sed', but none of them worked e.g.:
old_path='text := a \\\n\t\tb \\\n\t\tc'
new_path='text := d \\\n\t\te \\\n\t\tf'
sed -i -e "s%old_path%new_path%g" text.txt