On Tue, 14 Jan 2014 18:26:18 +0400 Konstantin Khomoutov <flatw...@users.sourceforge.net> wrote:
[...] > Basically that encantation involving xmlstarlet will make it run > the XPath query > > boolean(//version[text()!='2.0']) > > against your file and output "true" iff it contains at least one > element with the text not equal to "2.0" anywhere in the document; I meant "... at least one 'version' element with the text not equal to '2.0' ...", of course. A matching element might be at arbitrary nesting position. If you have some other requirements, just properly modify your XPath query. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.