Re: SEARCH enhancement
From: Richard B. Gilbert (rgilbert88_at_comcast.net)
Date: 12/10/03
- Next message: JF Mezei: "Re: FW: Look at critical pack from MS Corporation"
- Previous message: John McAninley: "FA: VME Desktop Enclosure/Chassis . Less than 24 hours left!"
- In reply to: Tom Linden: "RE: SEARCH enhancement"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
>
>
>
- Next message: JF Mezei: "Re: FW: Look at critical pack from MS Corporation"
- Previous message: John McAninley: "FA: VME Desktop Enclosure/Chassis . Less than 24 hours left!"
- In reply to: Tom Linden: "RE: SEARCH enhancement"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|