public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* [ANNOUNCEMENT] Updated: sgrep 1.94a-2 -- Search indexed text regions like SGML,XML and HTML files
@ 2008-02-21 21:54 Jari Aalto
  2008-02-22 13:11 ` zzapper
  0 siblings, 1 reply; 3+ messages in thread
From: Jari Aalto @ 2008-02-21 21:54 UTC (permalink / raw)
  To: cygwin

PACKAGE DESCRIPTION
===================

Homepage: http://www.cs.helsinki.fi/u/jjaakkol/sgrep.html
License : GPL

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.

CHANGES SINCE LAST RELEASE
==========================

Cygwin: Fix postinstall of /etc/sgreprc
Program: See usr/share/doc/sgrep-*/ChangeLog

INSTALL OR UPGRADE NOTES
========================

Standard install.

CYGWIN INSTALLATION INFORMATION
===============================

To install this package, click on the "Install Cygwin now" link on the
<http://cygwin.com/> web page. This downloads setup.exe to your
system. Then, run setup and answer all of the questions. You'll find
the package listed in the "All" category. After installation, read the
documentation at directories:

    /usr/share/doc/<package-version>/*
    /usr/share/doc/Cygwin/<package-version>.README

If you have questions or comments, please send them to the Cygwin
mailing list at <cygwin@cygwin.com>.

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO
================================

This message has been sent to cygwin-announce list.

If you want to unsubscribe from the mailing list, look at the
"List-Unsubscribe: " tag in the email header of this message. Send
email to the address specified there. It will be in the format:

    cygwin-announce-unsubscribe-you=yourdomain.com@cygwin.com

More information on unsubscribing can be found:

    http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at the above URL.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ANNOUNCEMENT] Updated: sgrep 1.94a-2 -- Search indexed text regions like SGML,XML and HTML files
  2008-02-21 21:54 [ANNOUNCEMENT] Updated: sgrep 1.94a-2 -- Search indexed text regions like SGML,XML and HTML files Jari Aalto
@ 2008-02-22 13:11 ` zzapper
  2008-02-22 13:51   ` Peter Ring
  0 siblings, 1 reply; 3+ messages in thread
From: zzapper @ 2008-02-22 13:11 UTC (permalink / raw)
  To: cygwin


Hey I needed sgrep all my life, is it recent?

some simple examples
sgrep -i '("<h1>" .. "</h1>")' index.php
sgrep -i '("fred" .. "joe")' essay.txt

It gets really useful when you stream it

sgrep -i '("fred" .. "joe")' essay.txt | egrep -i 'keyword' 


-- 
zzapper
http://www.successtheory.com/tips/vimtips.html
http://www.successtheory.com/tips/zshtips.html
http://www.successtheory.com/tips/cygwintips.php   (in progress)


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE:  Re: [ANNOUNCEMENT] Updated: sgrep 1.94a-2 -- Search indexed text regions like SGML,XML and HTML files
  2008-02-22 13:11 ` zzapper
@ 2008-02-22 13:51   ` Peter Ring
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Ring @ 2008-02-22 13:51 UTC (permalink / raw)
  To: zzapper, cygwin

http://www.cs.helsinki.fi/u/jjaakkol/sgrep.html
Last modified: Dec 22,1998

ftp://ftp.cs.helsinki.fi/pub/Software/Local/Sgrep/sgrep-1.94a.tar.gz

Latest change (autoconf stuff) 2004-11-19, few substantial changes since
2001.

You have been missing sgrep for some years ;)

Read the fine manual, useful stuff and examples.

Read the source too; some features are almost not documented.

If you need to quote a character in a search expression, you can write
it sort of like a numerical entity, i.e., '"' is '\#x22;'.


Here is another one you have been missing:

LT-XML
http://www.ltg.ed.ac.uk/software/ltxml
http://www.ltg.ed.ac.uk/np/ltxml/xmldoc.html

Latest changes in LT-XML in October 2004.

Most of the LT-XML utilities could be implemented in XSLT, but they
might come in handy anyway.

kind regards
Peter Ring


-----Original Message-----
From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf
Of zzapper
Sent: 22. februar 2008 12:51
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] Updated: sgrep 1.94a-2 -- Search indexed
text regions like SGML,XML and HTML files


Hey I needed sgrep all my life, is it recent?

some simple examples
sgrep -i '("<h1>" .. "</h1>")' index.php
sgrep -i '("fred" .. "joe")' essay.txt

It gets really useful when you stream it

sgrep -i '("fred" .. "joe")' essay.txt | egrep -i 'keyword' 


-- 
zzapper
http://www.successtheory.com/tips/vimtips.html
http://www.successtheory.com/tips/zshtips.html
http://www.successtheory.com/tips/cygwintips.php   (in progress)


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-02-22 12:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-21 21:54 [ANNOUNCEMENT] Updated: sgrep 1.94a-2 -- Search indexed text regions like SGML,XML and HTML files Jari Aalto
2008-02-22 13:11 ` zzapper
2008-02-22 13:51   ` Peter Ring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).