Tang Kim wrote: > > Dear ALL, Hello,
> I have an old Perl program here that runs beautifully on Solaris box that we > use in our segment. It reads all the files and count the semicolons and > lines of codes and print an output report - sloc_report. Within the sloc.pl > program is an Ada executable to count the semiscolons - count_semis. I > compiled the Ada program and ftp the 2 files to my PC which happens to be NT > window and put them on the D: drive. The count_semis.exe by itself will > read one file at a time, so if you execute at the Command Prompt, you get > D:\>count_semis.exe sloc.pl > 353 semiscolons; 1254 (raw) lines; 35353 bytes. > So I know for sure that the Ada program is working properly. I only know > enough of Perl to execute the sloc.pl on the Solaris box. > > But now another segment want to use it to run on NT windows. How do I make > it to run on NT? > I had ran it in Command Prompt window, but I could not even get pass the > first execute line, I got the following error: > D:\>perl sloc.pl > The system cannot find the path specified. > sloc.pl: Could not execute /bin/uname: No such file or directory > > Please find attached are the 2 files. Please show me how to set them up on > my NT machine and make it run like they are on the Solaris box. > Thank you. If you need a SLOC program have a look at this: http://www.dwheeler.com/sloccount/ John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]