ANNOUNCE: sgrep-1.90a - SGML and XML search and indexing tool

Jani Jaakkola jjaakkol at cs.Helsinki.FI
Thu Dec 10 01:17:54 GMT 1998

Sgrep-1.90a has been made available in source and binary form. Binaries
are available for Win32, HP-UX, Linux, OSF1 and Solaris platforms.

Sgrep is a tool to search and index text, SGML, XML and HTML files using
structured patterns. This example searches TITLE elements containing word
Hamlet from Jon Bosaks XML-text collections (both the religious texts
and Shakespeares works):

% time sgrep -x index 'stag("TITLE") .. etag("TITLE") 
        containing word("Hamlet")'
<TITLE>The Tragedy of Hamlet, Prince of Denmark</TITLE>
0.04user 0.01system 0:00.12elapsed 39%CPU (0avgtext+0avgdata
0inputs+0outputs (365major+73minor)pagefaults 0swaps

Sgrep-1.90a is still under development, but can be considered as a
major step towards version 2.0.

New features in 1.90a include
- Query operators supporting direct containment. In SGML and XML world 
  this means that you can query children and parents of given elements.
- The sources are available under GPL-license for those interested in
  compiling sgrep themselves.
- Sgrep now uses GNU autoconf, so compiling sgrep under Unix-systems
  should be easy.
- Many bug fixes

For more information about sgrep:

For a more complete description of the new features see the file README
in sgrep distribution or at:

For downloading sgrep use:

My real signature is written in Finnish. Sorry about that.

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as:
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list