diff options
| -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 |
