home *** CD-ROM | disk | FTP | other *** search
- Loc CLI Utility
-
- SYNTAX: LOC [-Q] <files1> <files2> ...
-
- The -Q switch turns off the file-by-file listing of files and only
- prints the totals.
-
- The file name arguments can contain the '*' and '?' wild card characters.
-
- Loc counts lines of C code and gives other statistics.
- Here is an example of it's output:
-
- Lines Of C (LOC) by Robert W. Albrecht
-
-
- The file loc.c contains...
- 157 lines of code, 20 blank lines, 2387 bytes of code,
- 1032 bytes of whitespace, and 479 bytes of comments.
- The average code line has 15 bytes.
- The code content is 61%, 69% without comments.
-
-
-