Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • You didnot set a "sed command". To correct it you have to write: sed -i s/'escaped-string'/'target-string'/ filename.xml Commented Sep 18, 2020 at 8:54
  • Your target <example path=/test/test123/> is either wrong (it is) or ambiguous. Either it's an unclosed element <example path="/test/test123/"> with no closing <element/> shown, or it's a singleton <example path="/test/test123"/>. This is why quoting values is necessary Commented Sep 21, 2020 at 11:31