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

decomment - remove comments from C and C++ files

Applications

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

Author

       Paul Bame

Description

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.

Diagnostics

       No parsing-related diagnostics.

Name

       decomment - remove comments from C and C++ files

See Also

pmccabe(1), codechanges(1)

                                                    17Jan2021                                       decomment(1)

Synopsis

decomment[file(s)]

Warnings

See Also