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*

5
  • 1
    Possible duplicate of Replace dynamic content in XML file Commented Mar 8, 2016 at 9:20
  • I suspect that you need to show us a bit more context; at the moment your problem can be solved by sed 's/Keep Accounts/& 2/' file.xml but it's the wrong tool for the job and probably won't work with your real data. Commented Mar 8, 2016 at 9:21
  • the items may be so many,so it should be select by "app_name",then change the value. Commented Mar 8, 2016 at 9:28
  • Please edit your question to show us a more complete example along with the desired output. Commented Mar 8, 2016 at 9:42
  • I update the question : ) Hope it can be understood Commented Mar 8, 2016 at 10:38