[ANNOUNCEMENT] New package: cloc 1.55-1 -- Statistics utility to count lines of code.

Christian Franke Christian.Franke@t-online.de
Mon Feb 27 17:15:00 GMT 2012


Frank Fesevur wrote:
> 2012/2/26 Jari Aalto:
>> PACKAGE DESCRIPTION
>> ===================
>>
>> Homepage: http://freshmeat.net/projects/cloc
>> License : GPL
>>
>> Count physical lines of source code in the given files (may be
>> archives such as compressed tarballs or zip files) and/or
>> recursively below the given directories.
> I just installed cloc and tried in on a small project I do, but I
> can't get it to work:
>
> Frank@PC205 /cygdrive/c/Source
> $ cloc NppSnippets/
> Can't open perl script "perl": No such file or directory
>

The shebang is broken:

--- /bin/cloc.orig      2012-02-04 21:01:33.001000000 +0100
+++ /bin/cloc   2012-02-27 17:54:56.681727700 +0100
@@ -1,2 +1,2 @@
-#!/bin/perl perl
+#!/bin/perl
  # cloc -- Count Lines of Code {{{1


It also requires two CPAN packages:

$ cpan Algorithm::Diff Regexp::Common


Christian


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list