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.

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

(none)

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64sgrep-1.94a.tgz
NetBSD 10.0aarch64sgrep-1.94a.tgz
NetBSD 10.0aarch64ebsgrep-1.94a.tgz
NetBSD 10.0aarch64ebsgrep-1.94a.tgz
NetBSD 10.0alphasgrep-1.94a.tgz
NetBSD 10.0alphasgrep-1.94a.tgz
NetBSD 10.0earmv4sgrep-1.94a.tgz
NetBSD 10.0earmv4sgrep-1.94a.tgz
NetBSD 10.0earmv6hfsgrep-1.94a.tgz
NetBSD 10.0earmv6hfsgrep-1.94a.tgz
NetBSD 10.0earmv6hfsgrep-1.94a.tgz
NetBSD 10.0earmv7hfsgrep-1.94a.tgz
NetBSD 10.0earmv7hfsgrep-1.94a.tgz
NetBSD 10.0earmv7hfsgrep-1.94a.tgz
NetBSD 10.0i386sgrep-1.94a.tgz
NetBSD 10.0i386sgrep-1.94a.tgz
NetBSD 10.0m68ksgrep-1.94a.tgz
NetBSD 10.0powerpcsgrep-1.94a.tgz
NetBSD 10.0powerpcsgrep-1.94a.tgz
NetBSD 10.0powerpcsgrep-1.94a.tgz
NetBSD 10.0sh3elsgrep-1.94a.tgz
NetBSD 10.0sparc64sgrep-1.94a.tgz
NetBSD 10.0sparc64sgrep-1.94a.tgz
NetBSD 10.0sparcsgrep-1.94a.tgz
NetBSD 10.0sparcsgrep-1.94a.tgz
NetBSD 10.0vaxsgrep-1.94a.tgz
NetBSD 10.0vaxsgrep-1.94a.tgz
NetBSD 10.0vaxsgrep-1.94a.tgz
NetBSD 10.0x86_64sgrep-1.94a.tgz
NetBSD 10.0x86_64sgrep-1.94a.tgz
NetBSD 9.0aarch64sgrep-1.94a.tgz
NetBSD 9.0aarch64sgrep-1.94a.tgz
NetBSD 9.0alphasgrep-1.94a.tgz
NetBSD 9.0alphasgrep-1.94a.tgz
NetBSD 9.0earmv6hfsgrep-1.94a.tgz
NetBSD 9.0earmv6hfsgrep-1.94a.tgz
NetBSD 9.0earmv6hfsgrep-1.94a.tgz
NetBSD 9.0earmv7hfsgrep-1.94a.tgz
NetBSD 9.0earmv7hfsgrep-1.94a.tgz
NetBSD 9.0earmv7hfsgrep-1.94a.tgz
NetBSD 9.0i386sgrep-1.94a.tgz
NetBSD 9.0i386sgrep-1.94a.tgz
NetBSD 9.0m68ksgrep-1.94a.tgz
NetBSD 9.0powerpcsgrep-1.94a.tgz
NetBSD 9.0powerpcsgrep-1.94a.tgz
NetBSD 9.0powerpcsgrep-1.94a.tgz
NetBSD 9.0sparc64sgrep-1.94a.tgz
NetBSD 9.0x86_64sgrep-1.94a.tgz
NetBSD 9.0x86_64sgrep-1.94a.tgz
NetBSD 9.3x86_64sgrep-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

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.