Re: [Xml-coreutils-discuss] Problem using xml-grep
Status: Alpha
Brought to you by:
lbreyer
From: Laird B. <la...@lb...> - 2010-09-14 00:15:33
|
On Sep 14 2010, Douglas Held wrote: > OK, now we're talking indeed. > > First, the problem is not reproducible. I must have had the old > libraries loaded, or old binaries in the buffer cache or > i-don't-know-what. But second, since trying the gdb command I get the > correct output with the blanks. > > Thanks for your time. I'll study the examples and ask a more > intelligent question next time. If I can reproduce any problem I'll > send a gdb stack trace or test case. Excellent! Feel free to ask nonintelligent :) questions about how the tools work, as it documents use-cases which can lead to UI improvements. I've actually just remembered why xml-grep doesn't grep the tree structure in the regex - it's to be specified on the command line after the file name: xml-grep --subtree '.*' 'core_java.xml' '://ControlflowRule' xml-cat core_java.xml | xml-grep --subtree '.*' '://ControlflowRule' If you "man 7 xml-coreutils", the section on the Common Unified Command Line Convention should explain the gist of it. Cheers, Laird. -- http://www.lbreyer.com The mind boggles, but does the Boggle mind? The mind boggles... |