delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Subject: | RE: Re: [ANNOUNCEMENT] Updated: sgrep 1.94a-2 -- Search indexed text regions like SGML,XML and HTML files |
MIME-Version: | 1.0 |
Date: | Fri, 22 Feb 2008 13:49:21 +0100 |
Message-ID: | <09D9A0202F49264A9F775BAC7F70307977AD0A@miexch01.wksc.local> |
In-Reply-To: | A<Xns9A4C7892A57DBzzappergmailcom@80.91.229.13> |
References: | <announce DOT ir0iqllv DOT fsf AT blue DOT sea DOT net> A<Xns9A4C7892A57DBzzappergmailcom AT 80 DOT 91 DOT 229 DOT 13> |
From: | "Peter Ring" <PRI AT magnus DOT dk> |
To: | "zzapper" <david AT tvis DOT co DOT uk>, <cygwin AT cygwin DOT com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id m1MCoBrg022049 |
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 AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of zzapper Sent: 22. februar 2008 12:51 To: cygwin AT cygwin DOT 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |