[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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.



Reply to: