# textproc/sgrep - The NetBSD Packages Collection

Tool for searching and indexing text, SGML,XML and HTML files

    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.

- Source version: `sgrep-1.94a`
- Maintainer: pkgsrc-users AT NetBSD.org
- Website: https://www.cs.helsinki.fi/u/jjaakkol/sgrep.html
- License: gnu-gpl-v2
- Package history: cvs, hg, git

## Build dependencies

pkgtools/mktools pkgtools/cwrappers

## Runtime dependencies

(none)

## Binary packages

OS | Architecture | Version
--- | --- | ---
NetBSD 10.0 | aarch64 | sgrep-1.94a.tgz
NetBSD 10.0 | aarch64 | sgrep-1.94a.tgz
NetBSD 10.0 | aarch64eb | sgrep-1.94a.tgz
NetBSD 10.0 | alpha | sgrep-1.94a.tgz
NetBSD 10.0 | alpha | sgrep-1.94a.tgz
NetBSD 10.0 | earmv4 | sgrep-1.94a.tgz
NetBSD 10.0 | earmv6hf | sgrep-1.94a.tgz
NetBSD 10.0 | earmv6hf | sgrep-1.94a.tgz
NetBSD 10.0 | earmv7hf | sgrep-1.94a.tgz
NetBSD 10.0 | earmv7hf | sgrep-1.94a.tgz
NetBSD 10.0 | i386 | sgrep-1.94a.tgz
NetBSD 10.0 | i386 | sgrep-1.94a.tgz
NetBSD 10.0 | powerpc | sgrep-1.94a.tgz
NetBSD 10.0 | powerpc | sgrep-1.94a.tgz
NetBSD 10.0 | powerpc | sgrep-1.94a.tgz
NetBSD 10.0 | sh3el | sgrep-1.94a.tgz
NetBSD 10.0 | sparc64 | sgrep-1.94a.tgz
NetBSD 10.0 | sparc64 | sgrep-1.94a.tgz
NetBSD 10.0 | vax | sgrep-1.94a.tgz
NetBSD 10.0 | vax | sgrep-1.94a.tgz
NetBSD 10.0 | x86_64 | sgrep-1.94a.tgz
NetBSD 10.0 | x86_64 | sgrep-1.94a.tgz
NetBSD 11.0 | aarch64 | sgrep-1.94a.tgz
NetBSD 11.0 | aarch64eb | sgrep-1.94a.tgz
NetBSD 11.0 | earmv6hf | sgrep-1.94a.tgz
NetBSD 11.0 | earmv7hf | sgrep-1.94a.tgz
NetBSD 11.0 | i386 | sgrep-1.94a.tgz
NetBSD 11.0 | sh3el | sgrep-1.94a.tgz
NetBSD 11.0 | vax | sgrep-1.94a.tgz
NetBSD 11.0 | x86_64 | sgrep-1.94a.tgz
NetBSD 9.0 | aarch64 | sgrep-1.94a.tgz
NetBSD 9.0 | aarch64 | sgrep-1.94a.tgz
NetBSD 9.0 | earmv6hf | sgrep-1.94a.tgz
NetBSD 9.0 | earmv6hf | sgrep-1.94a.tgz
NetBSD 9.0 | earmv7hf | sgrep-1.94a.tgz
NetBSD 9.0 | earmv7hf | sgrep-1.94a.tgz
NetBSD 9.0 | i386 | sgrep-1.94a.tgz
NetBSD 9.0 | i386 | sgrep-1.94a.tgz
NetBSD 9.0 | powerpc | sgrep-1.94a.tgz
NetBSD 9.0 | x86_64 | sgrep-1.94a.tgz
NetBSD 9.0 | x86_64 | sgrep-1.94a.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

## Available build options

(none)

## Known vulnerabilities

(no vulnerabilities known)

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.