Re: SEARCH enhancement

From: Richard B. Gilbert (rgilbert88_at_comcast.net)
Date: 12/10/03


Date: Tue, 09 Dec 2003 23:03:35 -0500

Why not just use one of the grep ports available for VMS. The syntax is
Unix-like but they get the job done!

Tom Linden wrote:

>how about
>$ sear/regex file-spec <regular-expression>
>
>I realize that you would need a parser, but you probably already have
>it for Posix?
>
>
>
>
>
>>-----Original Message-----
>>From: Guy Peleg [mailto:guy.peleg@hp.com_remove_this]
>>Sent: Monday, December 08, 2003 4:52 AM
>>To: Info-VAX@Mvb.Saic.Com
>>Subject: SEARCH enhancement
>>
>>
>>Here is a sneak preview of a new enhancement to search that will ship with
>>V8.2 :
>>
>>BLUSKY> ty test.txt
>>first line
>>second line
>>third line
>>forth line
>>fifth line
>>sixth line
>>
>>Now let's search the file for the word line, limit the number of
>>matches to 2 and skip the first 4 matches
>>BLUSKY> sea test.txt/limit=2/skip=4 line
>>fifth line
>>sixth line
>>
>>One of the things I like about this is that you can now type a file
>>
>>
>>from the middle. Let's say I want to type the file starting the 4th
>
>
>>line :
>>
>>BLUSKY> search test.txt/skip=3/match=nor "nonexistancestring"
>>forth line
>>fifth line
>>sixth line
>>BLUSKY>
>>
>>Coming soon to a system near you......(actually not so soon.....)
>>
>>Guy
>>
>>
>>
>>---
>>Incoming mail is certified Virus Free.
>>Checked by AVG anti-virus system (http://www.grisoft.com).
>>Version: 6.0.542 / Virus Database: 336 - Release Date: 11/18/2003
>>
>>
>>
>---
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.548 / Virus Database: 341 - Release Date: 12/5/2003
>
>
>



Relevant Pages

  • RE: CDE not coming up
    ... maybe I dislodged something when I installed the drives. ... > Now what is interesing is that CDE comes up on FREJA but not ODIN ... > Incoming mail is certified Virus Free. ...
    (comp.os.vms)
  • RE: Packed decimal arithmetic in C
    ... you need to run computations in more than 5 decimals places, ... >Incoming mail is certified Virus Free. ... Outgoing mail is certified Virus Free. ...
    (comp.os.vms)
  • RE: non-system but priviledged account OK for installing layered products?
    ... DECMessageQ was written in PL/I and BEA needed to have the product avaialble ... Incoming mail is certified Virus Free. ... Checked by AVG anti-virus system. ...
    (comp.os.vms)
  • ENC: SED question
    ... Incoming mail is certified Virus Free. ... Checked by AVG anti-virus system. ... Outgoing mail is certified Virus Free. ...
    (SunManagers)
  • RE: Any VMS at ITU Telecom World in Geneva??
    ... BEA is being forced to rewrite MessageQ because of time schedules and the ... >"Conway and Greis ... >Incoming mail is certified Virus Free. ... Outgoing mail is certified Virus Free. ...
    (comp.os.vms)

Loading