Re: unix grep equivalent in PERL

2002-10-08 Thread John W. Krahn
Javeed Sar wrote: > > Hi all, Hello, > What is the UNIX grep equivalent in perl? > > For eg: > @vobs=`cleartool lsvob -s -host blrk4005a|grep $vob_tag`; > > here the grep is UNIX grep? > What about in perl is there any function equivalent? my @vobs = grep /\Q$vob_tag/, `cleartool lsvob -s -h

Re: unix grep equivalent in PERL

2002-10-07 Thread Dharmender Rai
perldoc -f grep --- Javeed SAR <[EMAIL PROTECTED]> wrote: > Hi all, > > What is the UNIX grep equivalent in perl? > > For eg: > @vobs=`cleartool lsvob -s -host blrk4005a|grep > $vob_tag`; > > here the grep is UNIX grep? > What about in perl is there any function equivalent? > > Regards > j