Created
February 28, 2018 11:55
-
-
Save hiulit/7147a984e27dd3f21025c3ecbbdfd684 to your computer and use it in GitHub Desktop.
xmlstarlet delete tag containing certain value
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xmlstarlet ed -L -d "/path/to/tag[contains(text(),'some text')]" "path/to/file" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment