carta
sed_count(1)

sed_count1

Count physical lines of code, given a comment marker

Part of generic_count(1).

Usage

generic_count commentstart [--f file] files ...

Overview

This is a trivial/naive program for scripts used for sloccount toolsuite. This manpage is used for all the scripts using generic_count (currently: ada_count, awk_count, csh_count, erlang_count, exp_count, lisp_count, makefile_count, ruby_count, sed_count, sh_count, tcl_count )

Options

commentstart

String that begins a comment (continuing until end-of-line).

-f file

File with a list of files to count (if "-", read list from stdin). It can coexist with a list of files on command line.

History

  • Debian 13 (Trixie) to Debian 5.0 (Lenny): the text shown here
  • Debian 4.0 (Etch) to Debian 3.1 (Sarge)
  • Debian 3.0 (Woody)

--addlangall until Debian 4.0 (Etch); --append until Debian 4.0 (Etch); --autogen until Debian 4.0 (Etch); --cached until Debian 4.0 (Etch); --crossdups until Debian 4.0 (Etch); --details until Debian 4.0 (Etch); --duplicates until Debian 4.0 (Etch); --filecount until Debian 4.0 (Etch); --follow until Debian 4.0 (Etch); --multiproject until Debian 4.0 (Etch); --version until Debian 4.0 (Etch); --wide until Debian 4.0 (Etch).

Author

This manual page was written by Sandro Tosi <[email protected]>, for the Debian project (but may be used by others)

From sloccount 2.26+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.