LU-COMMENT-EXTRACTOR(1)
π LU-COMMENT-EXTRACTOR π
okay bestie, so you know how source files are always hiding little love notes in their comments? yeah. this is the girl that goes and gets them for you. it's lu-comment-extractor, a User Command, and she's about to pull the topmost comments out of your source files using GNU Source Highlight. no cap. β¨
πΈ NAME πΈ
lu-comment-extractor β extract comments from source code files π
π SYNOPSIS π
lu-comment-extractor [OPTION]... FILE
π¦ DESCRIPTION π¦
She shows you the topmost comments of source files (using GNU Source Highlight, periodt).
Like, not all of them by default. Just the top ones. The main character comments, if you will. π
Here's the whole menu of options, and yes we're going through every single one because I love you:
-f,--fullβ instead of showing topmost comments, show them all. every last one. the whole group chat. π₯-s,--style NAMEβ parse comments in the style of NAME. it's giving "which language are we in rn"--statsβ also show starting and ending byte positions. receipts. π§Ύ-O,--output FILEβ dump comments to FILE instead of stdout. like, put them somewhere else, not in the terminal's face-h,--helpβ display this help and exit. classic. she's helping. π«Ά--versionβ display version information and exit
β the style situation β
So NAME (that's the thing you pass to --style) can be one of these:
cc++javascriptshellschemetexinfolatexm4haskellgroffgettextfortranpascal
and "c" is the default. like, if you don't say anything, she assumes C. that's just her vibe. π
π about --stats π
Okay so --stats is lowkey iconic. It produces a terminating line showing the source row, source column, along with the destination row, destination column of the detected comments.
so like: where it came from, and where it's going. a little origin story for your comments. πβ‘οΈπ
π REPORTING BUGS π
Found a bug?? not her fault (jk it totally is, tell her anyway). Report bugs to:
<http://sv.nongnu.org/bugs/?group=licenseutils>
bestie please actually report them, she wants to know, she's not gonna be weird about it π
π and that's the page π
This whole thing is lu-comment-extractor, living in the User Commands section, dated October 2017, straight out of the licenseutils group over at sv.nongnu.org. mwah. take care of her. πβ¨ππ¦
π¦ where this page comes from
- debian bookworm: licenseutils 0.0.9-6+b1 Β· GPL-3.0-or-later
- debian trixie: licenseutils 0.0.9-8 Β· GPL-3.0-or-later
- ubuntu jammy: licenseutils 0.0.9-6 Β· GPL-3.0-or-later
- ubuntu noble: licenseutils 0.0.9-7build4 Β· GPL-3.0-or-later
- ubuntu questing: licenseutils 0.0.9-8
- ubuntu resolute: licenseutils 0.0.9-8.1 Β· GPL-3.0-or-later
- ubuntu stonking: licenseutils 0.0.9-8.1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms