AminetAminet
Search:
84476 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/misc/lc2_amigaos.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:C/C++ source line counter (ixemul)
Author:Brian Marick / Ray Rizzuto
Uploader:djbase gmx de (DJBase)
Type:dev/misc
Architecture:m68k-amigaos
Distribution:Aminet
Date:2006-06-30
Download:http://aminet.net/dev/misc/lc2_amigaos.lha - View contents
Readme:http://aminet.net/dev/misc/lc2_amigaos.readme
Downloads:795

Ported by DJBase - http://www.djbase.de

Compiled with GCC 3.3.3 on an Amiga 4000T / 68060-50.

-------------------------------------------------------------------------------

lc was created by Brian Marick.
lc2 was developed by Ray Rizzuto from the lc source code

The code used for the port was obtained from the public domain.
As such, all the source, binaries, makefiles and readmes provided in
this archive are also placed in the public domain - may they be of use
and/or interest to you!


Usage:

lc [-{] [-}] [-number] [file]

lc counts the number of lines of code, lines of comment, and blank lines
in a C or C++ program.  The output looks like this:

% lc lc.c
      Pure   Pure    Both    Total   Total   Total
      Code   Comment Cod&Com Blank   Code    Comment  Lines  Pages

lc.c  311    437     62      117     373     499      927    28


"Pure Code" means lines of code with no comments, "Pure Comment" means
lines with only comments; "Both Cod&Com" means lines containing both.
"Blank" lines contain neither code nor comments.

If no file arguments are given, input is taken from standard input.

OPTIONS

-{ or -}
These options instruct lc to count lines containing only brackets as
blank lines.

-number
The number argument tells lc how many lines fit on a page.
(Default is 56 or the equivalent of specifying argument -56)


Contents of dev/misc/lc2_amigaos.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1853    2802  66.1% -lh5- 9463 Jun 30 02:25 lc2/Bin.info
[generic]                 3896    7112  54.8% -lh5- 53a6 Jun 30 02:18 lc2/Bin/lc
[generic]                  785    1533  51.2% -lh5- b193 Jun 30 02:30 lc2/Readme
[generic]                 3415    6141  55.6% -lh5- 8edb Jun 30 02:32 lc2/Readme.info
[generic]                 1852    2802  66.1% -lh5- a55b Jun 30 02:24 lc2/Source.info
[generic]                 2065    6372  32.4% -lh5- 5940 Jul 16  2004 lc2/Source/get.c
[generic]                  518     961  53.9% -lh5- a6e9 Jul 19  2004 lc2/Source/lc.1
[generic]                  518     966  53.6% -lh5- f85f Jul 19  2004 lc2/Source/lc.1t
[generic]                 4101   13706  29.9% -lh5- 7266 Jul 16  2004 lc2/Source/lc.c
[generic]                 1332    4470  29.8% -lh5- 47fd Jul 16  2004 lc2/Source/lc.h
[generic]                  276     565  48.8% -lh5- a1f5 Jul 16  2004 lc2/Source/Makefile
[generic]                 1850    2802  66.0% -lh5- a554 Jun 30 02:24 lc2.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        12 files   22461   50232  44.7%            Jun 30 15:17

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>