xpat - XPAT database search engine
xpat, xpatu [ -v ][ -m memory k | K | m | M ] [ -h historysize ] [ -q ] [ -e ] [ -label label_name ] [ -I index_name] data_dictionary
xpat reads database queries from the standard input and produces results on the standard output. The query expressions must be in the form of XPat Command Language commands (refer to the XPat Reference Manual and Tutorial for a description of this language). xpat searches for word prefixes, words, phrases or ranges of any of these. xpat supports many different operations for combining the results of searches. In addition, xpat supports structural operations which allow queries to be restricted to specific user-defined regions in the database. These `region' operations also support inclusion operations on query results.
xpat uses several indices to perform the queries on the text database. Refer to the Database Administration Guide for more details on these indices and the methods to build them.
The central component of a text database is the Data Dictionary file, which specifies the text and index files that make up the database. Users search a particular database by passing that database's Data Dictionary as the data_dictionary argument to xpat.
The Unicode enabled version of xpat is xpatu. The same command line options are supported. xpatu uses the main index produced by xpatbldu to perform queries on Unicode UTF-8 encoded data. xpatu can query data from the Basic Multilingual Plane (Plane 0), i.e., UCS code point values up to #FFFF.
Digital Library eXtension Service, XPAT, Release 5.3 COPYRIGHT (c) 2003 The Regents of the University of Michigan All Rights Reserved>> love 1: 462 matches>> hate 2: 263 matches>> love near hate 3: 47 matches>> pr sample . . . >> love fby hate 4: 36 matches>> quit
(1), xpatrgn(1), multirgn(1), sgmlrgn(1), regions(5), data_dictionary(5), xpat_export(5)