www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/27/11:58:33

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY
X-Spam-Check-By: sourceware.org
Message-ID: <4F4BB610.1010502@t-online.de>
Date: Mon, 27 Feb 2012 17:57:52 +0100
From: Christian Franke <Christian DOT Franke AT t-online DOT de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110928 Firefox/7.0.1 SeaMonkey/2.4.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] New package: cloc 1.55-1 -- Statistics utility to count lines of code.
References: <announce DOT 878vjpoqh0 DOT fsf AT cante DOT net> <CAKf2h5QZ6xZ2yJRAX2W+op21i8kqz3UBbDd4KEgtx9LnRTyfpA AT mail DOT gmail DOT com>
In-Reply-To: <CAKf2h5QZ6xZ2yJRAX2W+op21i8kqz3UBbDd4KEgtx9LnRTyfpA@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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 AT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019