delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/02/22/06:52:25

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: zzapper <david AT tvis DOT co DOT uk>
Subject: Re: [ANNOUNCEMENT] Updated: sgrep 1.94a-2 -- Search indexed text regions like SGML,XML and HTML files
Date: Fri, 22 Feb 2008 11:51:21 +0000 (UTC)
Lines: 17
Message-ID: <Xns9A4C7892A57DBzzappergmailcom@80.91.229.13>
References: <announce DOT ir0iqllv DOT fsf AT blue DOT sea DOT net>
User-Agent: Xnews/2006.08.24
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019