DOKK / manpages / debian 11 / pmccabe / decomment.1.en
decomment(1) General Commands Manual decomment(1)

decomment - remove comments from C and C++ files

decomment [file(s)]

decomment processes the named files, or standard input if none are named, copying their contents to standard output with comments removed. Line numbers in the input file(s) and out file(s) are unchanged, that is, if main() occurs on line 40 in the input, it will also appear on line 40 in the output despite comment removal.

decomment may be used to remove comments in order to simply other programs which process source code.

No parsing-related diagnostics.

Paul Bame

pmccabe(1), codechanges(1)

17Jan2021