SGML: Grep-like tool for SGML
Subject: Re: Grep-like tool for SGML
Date: 18 Apr 1996 10:14:33 GMT
From: jjaakkol@loussa.cs.helsinki.fi (Jani Jaakkola)
Newsgroups: comp.text.sgml
References: <4kvip6$2eh@parnas.mimuw.edu.pl>
In article <4kvip6$2eh@parnas.mimuw.edu.pl>,
ksiezyk@bull.mimuw.edu.pl (Pawel Ksiezyk) writes:
>I'm looking for Grep-like tool that can search through SGML documents.
>
I and Pekka Kilpeläinen from department of computer science at
University of Helsinki have developed a tool called 'sgrep'
which is designed
for grep like searching of structured documents. Program
is (almost) ready (has been actually for over half a year). However
i and Pekka have been too busy, so we have not announced the program
yet. We are also planning to publish a paper on the program.
sgrep should work in any unixish environments but it is has been
tested only on few platforms. We have no binary distributions, but the
sources are available. Sgrep is provided under GPL. For more information
see the WWW-page at http://www.cs.helsinki.fi/~jjaakkol/sgrep.html
OK, an example would be nice. Here is one:
Search stdin for TITLE element which occur inside HEAD elements and contain
word SGML
sgrep '("<TITLE>" .. "</TITLE>") in ("<HEAD>".."</HEAD>") containing "SGML"'
I am convinced that sgrep is really useful program. Maybe if i get enough
encouraging mail, i'll announce and release version 1.0 shortly.
If you have any questions, mail me.
------ Jani Jaakkola , jjaakkol@cs.helsinki.fi ------
------ http://www.cs.helsinki.fi/~jjaakkol ------