After upgrading 'guestfish', the escape character when using sed no longer works as expected
Issue
- I use
sed
to modify a file. If i use an an escape character ('\') to specify a dot ('.'), it does not work as expected:
><fs> command "sed -i 's/0\.2/0\.3/g' /root/tmp.txt"
guestfish: invalid escape sequence in string (starting at offset 11)
Environment
- Red Hat Enterprise Linux 6.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.