My problem is that the regex .* doesn’t seem to match specials characters which appear like:
\200
\201
\202
...
(in emacs).
I have a file with some values between separators like:
[a].[b]
and I want to display them like this :
a=b
so I use a regex :
sed 's/^\[\(.*\)\]\.\[\(.*\)\]/\1=\2/g' toto
It works but when the characters between the [] are characters like \200 sed doesn’t work, as if .* doesn’t match those characters.
Does anyone have an idea?
Use perl: