Re: [cciug] Report of SLOC

From: Andrew.Mcdonagh@marconicomms.com
Date: Tue Feb 15 2000 - 10:14:33 EST


One point to concider.....CCPer4 will apparently, not be shipped as part of CC
after CC v4, according to the installation notes.

Andy

Brad Appleton <bradapp@enteract.com> on 15/02/2000 14:51:16

Please respond to Brad Appleton <bradapp@enteract.com>
                                                                                
                                                                                
                                                                                

                                                              
                                                              
                                                              
 To: ClearCase Users Group <cciug@Rational.Com>
                                                              
 cc: (bcc: Andrew Mcdonagh/MAIN/MC1)
                                                              
                                                              
                                                              
 Subject: Re: [cciug] Report of SLOC
                                                              

On Tue, Feb 15, 2000 at 04:42:23PM +0800, Elynna_He@navionsoftware.com wrote:
> source-code for sclc and cdiff . But when I use it to execute your tool
> "sclc" by typing "ccperl4 sclc" , there is the error as following.

Perl4 will most assuredly not work here. You need Perl5. But these scripts
currently run on Unix using versions as early as 5.003 and 5.004.

> And also I have another Perl522 installed on my PC (NT workstation 4.0). I
> typed "perl sclc" using Perl522 to execute it but got another error as
> following.
>
> /^(.*)\([^\]+)$/: unmatched [] in regexp at e:\Config~1\ClearCase\Perl\sclc
> line 42.

Must be some kind of transmission problem downloading or uploading the
script somehow. If there were genuinely an unmatched '[]' then I would
receive that error on Unix as well - but I don't.

> I found in your Tool Example , you typed the command "$ sclc dir.c dir.h" .
> It seems sclc should be an executable file , right? Where can I find it ?
> Or any other hint about the problem?

Find someone who knows NT and/or Perl on NT well enough to instruct you
how to make a Perl script "executable" on NT.

As I had mentioned in my original email, the sclc and cdiff scripts run
on Unix and I have not ported them to NT. Porting them to NT should be
trivial for someone who knows Perl on NT; and if anyone does port the
scripts to NT I urge them to email me the changes.

--
Brad Appleton <bradapp@enteract.com> http://www.enteract.com/~bradapp/
  "And miles to go before I sleep." -- Robert Frost
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



This archive was generated by hypermail 2b29 : Sun May 06 2001 - 00:23:14 EDT