-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello.

I have a very simple script to count a number of frames (files) in a
directory.

###
#start
###

#!/usr/bin/perl

$num ="1";

while ( $num = 1 )
        {
        $count = `ls -al|grep .dpx |wc -l`;
        print "        Frames in -->  ";
        print $count;
#       print "\n";
        sleep 30;
}

###
# end
###

This of course works fine on my IRIX machines, but perl2exe wont work
because grep doesn't exist by default.  My sysadmin will not install
perl.  I'm using perl2exe just to port it over not for security, so I
would like to avoid the perl2exe discussion.

Do you have any ideas how I could rewrite this without grep. 

Thanks in advance for all of your help.

MEATPLOW
greg_at_meatplow.com


-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>

iQA/AwUBP4uNDR42gIcyjrnjEQIyZQCg7YpoYanv6qF21ocCIRaY158hxsoAoNXM
Y9pY15ZJe/j+5nzUZlO7REy2
=acMM
-----END PGP SIGNATURE-----


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

Reply via email to