Dear ALL,

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.  

 <<count_semis.exe>> 

 <<sloc.pl>> 

Tang Kim
[EMAIL PROTECTED]


This message was found to contain one or more executable attachments.  The 
file was removed to protect the LMC systems.

The name of the original attachment was:  count_semis.exe

If you have questions, please call the Lockheed Martin
Enterprise Service Desk at 1-800-435-7063 or visit 
http://wei.ems.lmco.com/virusupdates/sophos/updates.html
for a list of file types that are currently being removed from email messages.

Corporate Headquarters Employees, please call 1-301-897-6500 or
toll-free 1-866-648-9928. 

Attachment: sloc.pl
Description: Binary data

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to