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
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