Re: grep: match i to j occurences of abc

From: Erik Max Francis (max_at_alcyone.com)
Date: 08/31/03


Date: Sun, 31 Aug 2003 01:14:38 -0700

Penna Elabi wrote:

> Thanks! Works great with egrep (but not with grep (Digital UNIX
> V4.0G)).

Sorry, meant to mention that it was egrep, not grep.

-- 
   Erik Max Francis && max@alcyone.com && http://www.alcyone.com/max/
 __ San Jose, CA, USA && 37 20 N 121 53 W && &tSftDotIotE
/  \ Did you ever love somebody / Did you ever really care
\__/  Cassandra Wilson


Relevant Pages

  • Re: Fraudulent eBay listing
    ... O.K. I had not noticed that you were using plain grep, ... in egrep), * simply stands for "zero or more of the preceding ... Interpret PATTERN as an extended regular expression. ...
    (rec.crafts.metalworking)
  • Re: Python MAPI
    ... registry edits, so I disabled my filters and ran it without. ... egrep - which is a more powerful version of grep; ... "pattrn" which looks in parallel for pattern1, patturn1, ...
    (comp.lang.python)
  • Re: egrep question
    ... The trick to using grep and egrep effectively is to truly understand how pattern ... Tale of Two Cities ... The book titles have spaces, periods, etc. ...
    (AIX-L)
  • Re: regex back matching
    ... for matching IP addresses... ... egrep is a version of the Unix grep program that does regular ... two variant programs egrep and fgrep are available. ...
    (comp.lang.perl.misc)
  • Re: Match the full stop and quotation mark literally with regexp by using egrep.
    ... U+0022 literally with regexp by using egrep. ... egrep is long obsolete; use grep -E. ... The quotation mark isn't special in regexps, ... If your regex pattern doesn't contain a single quote, ...
    (comp.unix.shell)