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 -host blrk4005a`; John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]