logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rmccmt - remove comments from C and C++ programs

Author

       Lars Wirzenius, liw@iki.fi.

                                                                                                       RMCCMT(1)

Description

       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.

Name

       rmccmt - remove comments from C and C++ programs

Synopsis

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

See Also