Re: help with awk command in perl

2006-08-29 Thread Mumia W.
On 08/29/2006 10:40 AM, Sayed, Irfan (Irfan) wrote: Hi All, I have a following script in perl in which i am using awk command but it is not getting executed properly. # /usr/atria/bin/Perl -w use strict; use warnings; my $fname = "/tmp/checkvob_log"; open(FILE,">>$fname"); Check

Re: help with awk command in perl

2006-08-29 Thread John W. Krahn
John W. Krahn wrote: > Sayed, Irfan (Irfan) wrote: >>Hi All, > > Hello, > >>I have a following script in perl in which i am using awk command but it >>is not getting executed properly. >> >> >># /usr/atria/bin/Perl -w >> >>use strict; >>use warnings; >> >>my $fname = "/tmp/checkvob_log"; >>o

Re: help with awk command in perl

2006-08-29 Thread John W. Krahn
Sayed, Irfan (Irfan) wrote: > Hi All, Hello, > I have a following script in perl in which i am using awk command but it > is not getting executed properly. > > > # /usr/atria/bin/Perl -w > > use strict; > use warnings; > > my $fname = "/tmp/checkvob_log"; > open(FILE,">>$fname"); > >

Re: help with awk command in perl

2006-08-29 Thread Hal Wigoda
you have to execute the awk statement on the operating system level with the system, that is: system ("$cmd1"); On Aug 29, 2006, at 10:40 AM, Sayed, Irfan ((Irfan)) wrote: Hi All, I have a following script in perl in which i am using awk command but it is not getting executed properly.

help with awk command in perl

2006-08-29 Thread Sayed, Irfan \(Irfan\)
Hi All, I have a following script in perl in which i am using awk command but it is not getting executed properly. # /usr/atria/bin/Perl -w use strict; use warnings; my $fname = "/tmp/checkvob_log"; open(FILE,">>$fname"); my $CT = "/usr/atria/bin/cleartool"; my @vob_list = `$CT lsvo