Revision [1044]
This is an old revision of CommandXgrep made by DavidLee on 2009-11-25 18:14:36.
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.CategoryCommands