This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]