---
name: sgrep2
version: 1.94a
origin: textproc/sgrep2
comment: A `grep' for structured text like SGML and HTML
arch: freebsd:9:x86:64
www: http://www.cs.helsinki.fi/u/jjaakkol/sgrep.html
maintainer: ports@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 168183
desc: |
  sgrep (structured grep) is a tool for searching and indexing text, SGML,XML
  and HTML files and filtering text streams using structural criteria. The data
  model of sgrep is based on regions, which are nonempty substrings of text.
  Regions are typically occurrences of constant strings, SGML-tags, or meaningful
  text elements, which are recognizable through some delimiting strings or the
  builtin SGML, XML and HTML parser. Regions can be arbitrarily long, arbitrarily
  overlapping, and arbitrarily nested.

  Sgrep is a convenient tool for making queries to almost any kind of text files
  with some well kown structure. These include programs, mail folders, news
  folders, HTML, SGML, etc... With relatively simple queries you can display mail
  messages by their subject or sender, extract titles or links or any regions
  from HTML files, function prototypes from C or make complex queries to SGML
  files based on the DTD of the file.

  WWW: http://www.cs.helsinki.fi/u/jjaakkol/sgrep.html
categories: [textproc]
files:
  /usr/local/bin/sgrep: 4ae4644dcfb864b859128da49edd63cd427219e3a478e6a9d1f1cbfba28a7b5e
  /usr/local/man/man1/sgrep.1.gz: 1cba3aa2c4eb1ef2dfe757757451622ba8efe472bb9f9e904c0143714d7c0881
  /usr/local/share/sgrep2/sample.sgreprc: c4b159e5898f67330b44d9568cba2580bc1a9840b9f9ff445efb6c740fd4dd6a
directories:
  /usr/local/share/sgrep2/: n
scripts: {}
