Command xgrep
Name
xgrep Find patterns in XML filesSynopsis
xgrep expr [files]expr | an XPath expression to search |
[files] | List of files to search |
Description
xgrep parses each xml file given and if it contains a node which matches the xpath expression (expr) prints the filename of the matching file.
Example:
xgrep '//foo' *.xml
Return Value
Returns 0 if the command executed successfully, 1 if there was an error.Commands
CategoryCommands