DOKK / manpages / debian 12 / liwc / rmccmt.1.en
RMCCMT(1) General Commands Manual RMCCMT(1)

rmccmt - remove comments from C and C++ programs

rmccmt [-n] [-c] [file ...]

This program removes comments from C source code, both traditional and C++ style comments. Each traditional comment is replaced with one space, and C++ style comment is replaced with a newline. With the `-n' option, newlines inside traditional C comments are kept. With the '-c' option, code is removed and comments kept.

Lars Wirzenius, liw@iki.fi.