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 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: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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