Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Development (http://www.linux-archive.org/debian-development/)
-   -   Bug#568134: ITP: libfile-countlines-perl -- Efficiently count the number of line breaks in a file (http://www.linux-archive.org/debian-development/319372-bug-568134-itp-libfile-countlines-perl-efficiently-count-number-line-breaks-file.html)

Maximilian Gass 02-02-2010 04:19 PM

Bug#568134: ITP: libfile-countlines-perl -- Efficiently count the number of line breaks in a file
 
Package: wnpp
Owner: Maximilian Gass <mxey@cloudconnected.org>
Severity: wishlist
X-Debbugs-CC: debian-devel@lists.debian.org,debian-perl@lists.debian.org

* Package name : libfile-countlines-perl
Version : 0.0.2
Upstream Author : Moritz Lenz
* URL : http://search.cpan.org/dist/File-CountLines/
* License : Artistic or GPL-1+
Programming Lang: Perl
Description : Efficiently count the number of line breaks in a file

perlfaq5 answers the question on how to count the number of lines in a file.
File::CountLines is a convenient wrapper around that method, with additional
options.

More specifically, it counts the number of line breaks rather than lines. On
Unix systems nearlly all text files end with a newline (by convention), so
usually the number of lines and number of line breaks is equal.



--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


All times are GMT. The time now is 01:22 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.