archives

find with XPath over file system

I think my development is of some interest:

find with XPath over file system
http://uucode.com/texts/xfind/index.html

The standard UNIX utility find now supports XPath:

$ ./find -xpath '/bin/*[@size > /bin/bash/@size]'
/bin/ipv6calc
/bin/rpm

XML can be considered as an external representation of in-memory tree-like structures, and the XML-related standards -- as methods of processing such data. I'm working on a reusable XPath implementation, and the new find is a reference implementation for adding XPath into the C programs.