diff options
| author | Mattias Andrée <m@maandree.se> | 2026-02-22 13:43:41 +0100 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-02-22 13:43:41 +0100 |
| commit | 2194438fc14bb3f595209b55fb16d74fbf4637b1 (patch) | |
| tree | 82916c9da6cc5bdfdcfd16e6c1a402b85342f348 | |
| parent | Update e-mail (diff) | |
| download | loc-4.1.1.tar.gz loc-4.1.1.tar.bz2 loc-4.1.1.tar.xz | |
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
| -rw-r--r-- | README | 6 | ||||
| -rw-r--r-- | config.mk | 4 | ||||
| -rw-r--r-- | loc.1 | 8 |
3 files changed, 9 insertions, 9 deletions
@@ -11,12 +11,12 @@ DESCRIPTION standard input is read. If more than one file is specified, each successfully - line counted file will have its of lines of code output on - the format + processed file will have its line count output in the + format "%s:%*s%zu\n", <file>, <some positive integer>, "", <#lines of code> - The total for all processed files, is printed on the last + The total for all processed files is printed on the last line with the format "%zu\n", <#total lines of code> @@ -1,8 +1,8 @@ PREFIX = /usr MANPREFIX = $(PREFIX)/share/man -CC = cc +CC = c99 CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -CFLAGS = -std=c99 -Wall -O2 +CFLAGS = LDFLAGS = -s @@ -1,4 +1,4 @@ -.TH LOC 1 "loc" +.TH LOC 1 LOC .SH NAME loc - count number of lines of code .SH SYNOPSIS @@ -17,14 +17,14 @@ or if a file is not specified, the standard input is read. .PP If more than one .I file -is specified, each successfully line counted file will have -its of lines of code output on the format +is specified, each successfully processed file will have its +line count output in the format .nf \fB"%s:%*s%zu\n"\fP, <\fIfile\fP>, <\fIsome positive integer\fP>, \fB""\fP, <\fI#lines of code\fP> .fi .PP -The total for all processed files, is printed on the last +The total for all processed files is printed on the last line with the format .nf |
