This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Re: [ANNOUNCEMENT] Updated: sgrep 1.94a-2 -- Search indexed text regions like SGML,XML and HTML files
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/