|
84754 packages online
|
|
|
|
dev/misc/lc2-morphos.lha |
|
No screenshot available
|
|
This is recompile of lc2 source line counter originally ported by John Chandler
to OS4. I wanted to count lines of Ambient source code and found this small
util, so I ported it to MOS now.
I dont know where the original source code was available so here is snippet
from the original OS4 port readme:
----[ http://www.aminet.net/dev/misc/lc2.readme ]----
lc was created by Brian Marick.
lc2 was developed by Ray Rizzuto from the lc source code
The code used for the OS4 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)
----[ http://www.aminet.net/dev/misc/lc2.readme ]----
|
Contents of dev/misc/lc2-morphos.lha
PERMSSN UID GID PACKED SIZE RATIO METHOD CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 3990 9664 41.3% -lh5- 0495 Jun 16 14:43 lc2/lc
[generic] 896 1778 50.4% -lh5- 38ef Jun 16 14:49 lc2/lc2-morphos.readme
[generic] 2065 6372 32.4% -lh5- 5940 Jun 16 14:42 lc2/source/get.c
[generic] 518 961 53.9% -lh5- a6e9 Jun 16 14:42 lc2/source/lc.1
[generic] 518 966 53.6% -lh5- f85f Jun 16 14:42 lc2/source/lc.1t
[generic] 4101 13706 29.9% -lh5- 7266 Jun 16 14:42 lc2/source/lc.c
[generic] 1332 4470 29.8% -lh5- 47fd Jun 16 14:42 lc2/source/lc.h
[generic] 299 601 49.8% -lh5- 63e3 Jun 16 14:43 lc2/source/Makefile
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 8 files 13719 38518 35.6% Jun 16 14:36
|
|
|
|
Page generated in 0.02 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminetaminet net> |