Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added utils/sgrep.ico
Binary file not shown.
Binary file added utils/sgrep.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions utils/sgrep.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" ?>
<?xml-stylesheet type='text/xsl' href='interface.xsl'?>
<interface uri="https://apps.0install.net/utils/sgrep.xml" xmlns="http://zero-install.sourceforge.net/2004/injector/interface" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://zero-install.sourceforge.net/2004/injector/interface http://0install.de/schema/injector/interface/interface.xsd http://0install.de/schema/desktop-integration/capabilities http://0install.de/schema/desktop-integration/capabilities/capabilities.xsd">
<name>Sgrep</name>
<summary xml:lang="en">Sgrep SPECS Sgrep: search a file for a structured pattern</summary>
<description xml:lang="en">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.
</description>
<icon href="https://raw.githubusercontent.com/0install/apps/master/utils/sgrep.ico" type="image/vnd.microsoft.icon"/>
<icon href="https://raw.githubusercontent.com/0install/apps/master/utils/sgrep.png" type="image/png"/>
<category>Utility</category>
<homepage>http://gnuwin32.sourceforge.net/packages/sgrep.htm</homepage>
<needs-terminal/>
<implementation arch="Windows-*" id="sha1new=3fe0cf5063d8ea3be1967a4346ea9562d4a569c4" license="GPL v1 (GNU General Public License)" released="2005-01-31" version="1.94-1">
<requires interface="https://apps.0install.net/devel/m4.xml">
<executable-in-path name="m4"/>
</requires>
<command name="run" path="bin/sgrep.exe"/>
<manifest-digest sha256new="MJQ5C2AATAMAYABQXL7XVP7FVEGNKIFHRW7SGAOTDAALZYOX6WCA" />
<archive href="https://sourceforge.net/projects/gnuwin32/files/sgrep/1.94a/sgrep-1.94a-bin.zip" size="127944" type="application/zip"/>
<archive href="https://github.com/kkeybbs/gnuwin32/blob/master/gnuwin32/sgrep-bin.zip?raw=true" size="127944" type="application/zip"/>
</implementation>
<package-implementation distributions="Gentoo" package="app-text/sgrep"/>
<package-implementation package="sgrep"/>
<entry-point binary-name="sgrep" command="run">
<needs-terminal/>
<name xml:lang="en">sgrep</name>
</entry-point>
</interface>