1
0
Fork
You've already forked braces
0
[Complete] Count number of braces in code
  • C 65.9%
  • Makefile 20.9%
  • Roff 13.2%
Find a file
Mattias Andrée 2c7df7faf9
m
Signed-off-by: Mattias Andrée <m@maandree.se>
2026年05月23日 21:39:12 +02:00
.gitignore First commit 2026年05月23日 21:09:31 +02:00
arg.h First commit 2026年05月23日 21:09:31 +02:00
braces.1 First commit 2026年05月23日 21:09:31 +02:00
braces.c First commit 2026年05月23日 21:09:31 +02:00
config-coverage-gcc.mk First commit 2026年05月23日 21:09:31 +02:00
config.mk First commit 2026年05月23日 21:09:31 +02:00
LICENSE First commit 2026年05月23日 21:09:31 +02:00
Makefile First commit 2026年05月23日 21:09:31 +02:00
README m 2026年05月23日 21:39:12 +02:00

NAME
	braces - count number of braces in code
SYNOPSIS
	braces [-s] [file] ...
DESCRIPTION
	braces counts the number of braces in code for each specified
	file. braces will treat each file as a C source code or
	C header file. If file is -, or if a file is not specified,
	the standard input is read.
	If more than one file is specified, each successfully
	processed file will have its line count output in the format
		"%s:%*s%zu\n", <file>, <some positive integer>, "", <#braces in code>
	The total for all processed files is printed on the last line
	with the format
		"%zu\n", <total #braces in code>
	If exactly one or no files are specified, this will be the
	only line output.
OPTIONS
	-s
		Only output the last line. (The total over all files.)
SEE ALSO
	semicolons(1)