From 41305ac7747516f86d03d0b750816c02e624ac4c Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 23 May 2026 20:53:27 +0200 Subject: First commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- README | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 README (limited to 'README') diff --git a/README b/README new file mode 100644 index 0000000..5df16b8 --- /dev/null +++ b/README @@ -0,0 +1,31 @@ +NAME + semicolons - count number of semicolons in code + +SYNOPSIS + semicolons [-s] [file] ... + +DESCRIPTION + semicolons counts the number of semicolons in code for each specified + file. semicolons 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", , , "", <#semicolons in code> + + The total for all processed files is printed on the last line + with the format + + "%zu\n", + + 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 + braces(1) -- cgit v1.3.1