HP OpenVMS Systems

ask the wizard
Content starts here

SEARCH and regular expression matching?

» close window

The Question is:

 
I'm trying to search a group of files for the following pattern
 
(a and b) or (a and c) or (d)
 
is this possible with one search statement?
 
thanks,
bill reynolds
 


The Answer is :

 
  Not with one SEARCH command.  Try grep or fgrep, or try multiple
  passes with SEARCH.

answer written or last revised on ( 21-MAR-2000 )

» close window