lu-comment-extractor(1)

lu-comment-extractor1

Extract comments from source code files

Usage

lu-comment-extractor [OPTION] ... FILE

Overview

Show the topmost comments of source files (using GNU Source Highlight.)

-f, --full

instead of showing topmost comments, show them all

-s, --style NAME

parse comments in the style of NAME

--stats

also show starting and ending byte positions

-O, --output FILE dump comments to FILE instead of stdout

-h, --help

display this help and exit

--version

display version information and exit

Style NAME can be one of "c, c++, javascript, shell, scheme, texinfo, latex, m4, haskell, groff, gettext, fortran, pascal". "c" is the default.

--stats produces a terminating line showing the source row, source column, along with the destination row, destination column of the detected comments.

Releases

Unchanged in 4 releases since Debian 10 (Buster).

  1. 10–13

Reporting bugs

Report bugs to <http://sv.nongnu.org/bugs/?group=licenseutils>.

From licenseutils 0.0.9-8 in Debian 13 (Trixie). Parsed by carta from the page's man source.