Revision [1045]

This is an old revision of CommandXgrep made by DavidLee on 2009-11-25 18:14:54.

 

Command xgrep



Name

xgrep Find patterns in XML files


Synopsis

xgrep expr [files]

expran 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

There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki