decomment(1)
π decomment(1) β the manual, but make it cute π
okay so bestie, welcome to decomment, a General Commands Manual classic. buckle up, this one's short and sweet π
β¨ NAME β¨
decomment β remove comments from C and C++ files π§
no cap, that's the whole job. it takes your files and it takes the comments out of them. that's it, that's the girl π
β¨ SYNOPSIS β¨
decomment [file(s)]
that's literally it. give her some files or don't, she's flexible π«Ά
β¨ DESCRIPTION β¨
so here's the vibe: decomment processes the files you name, or β if you name none β she reads from standard input. either way she copies the contents over to standard output with the comments removed. iconic behaviour honestly πΈ
and here's the part that lowkey matters most: line numbers in the input file(s) and out file(s) are unchanged. like, if main() shows up on line 40 in the input, it is still on line 40 in the output, even after all the comment removal happened. she doesn't reflow, she doesn't shift, she doesn't do any of that. the line numbers are preserved, periodt π
β¨ APPLICATIONS β¨
so why would you even want this? because decomment can be used to remove comments in order to simplify other programs which process source code. basically she does the tedious scrubbing so your other tools don't have to deal with comments at all. a little act of service for your toolchain, fr fr π
β¨ DIAGNOSTICS β¨
No parsing-related diagnostics. β¨
like, none. zero. she's not gonna yell at you about parsing. so chill π
β¨ WARNINGS β¨
this section is empty in the original, bestie β not a single warning listed here. nothing to report, no notes π
β¨ AUTHOR β¨
Paul Bame π β thank you for your service, king π«Ά
β¨ SEE ALSO β¨
go read those too, iykyk π¦
and that's the whole page, bestie!! π this was decomment(1) from the General Commands Manual, dated 17Jan2021. slay, ate, no crumbs. go remove some comments πβ¨π
π¦ where this page comes from
- debian bookworm: pmccabe 2.8-3 Β· GPL-2.0-or-later
- debian trixie: pmccabe 2.8-3 Β· GPL-2.0-or-later
- ubuntu jammy: pmccabe 2.8-2 Β· GPL-2.0-or-later
- ubuntu noble: pmccabe 2.8-3 Β· GPL-2.0-or-later
- ubuntu questing: pmccabe 2.8-3
- ubuntu resolute: pmccabe 2.8-3build1 Β· GPL-2.0-or-later
- ubuntu stonking: pmccabe 2.9-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms