I would like to replace any
...
title = {{ some text }}
...
to
...
title = { some text }
...
Indeed, I want to replace double curly braces to one (in windows 7).
I came up sing sed but apparently sed in windows does not work properly. Here is a simple test that shows the problem. I want to replace double curly braces {{ with one { . Here what I am trying to do:
sed "s/{{/{/g" file.txt
However I get this error
sed: 1: "s/": unterminated substitute pattern
I have seen this but apparently it doesn't work in Windows os: sed find and replace with curly braces
Any idea how to do this?